Hi!
I am familiar with before and after image sliders, but I would really like to know if anyone is able to explain how this site: https://www.towardszero.vic.gov.au/ are able to clickable embedded text into the slider.
Much appreciated.
Hi!
I am familiar with before and after image sliders, but I would really like to know if anyone is able to explain how this site: https://www.towardszero.vic.gov.au/ are able to clickable embedded text into the slider.
Much appreciated.
If you're using some kind of pre-made slider, look at their documentation, because almost all of them allow this.
However, the basic idea is that the image and text are in a container. The image is set to take up the size of the entire container, then the text is absolutely positioned in front of it.
Ron Roe
Web Developer
"If every app were designed using the same design template, oh wait...Bootstrap."
That may be called text over image in html and css.
Bleau
"Give the gift of life, Adopt a child, And an Animal"