Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Oct 2017
    Posts
    1
    Member #
    57621

    Red face How did they do this?

    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.

  2.  

  3. #2
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    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."

  4. #3
    Senior Member bleau canon's Avatar
    Join Date
    Mar 2011
    Location
    Appalachia Blue Ridge Mts.
    Posts
    607
    Member #
    27201
    Liked
    186 times
    That may be called text over image in html and css.
    Bleau
    "Give the gift of life, Adopt a child, And an Animal"


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 02:47 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com