All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Trying to Find Best Standards for Coding Sliders

  • # March 20, 2013 at 11:03 pm

    I have a small project where I have a content box that will have its content change on hover. I want it to be responsive and fluid. I’ve tried using only CSS, which worked okay, but not ideal.

    I want to make sure I’m doing this as efficiently as possible and have a few general ideas:

    • Use a long unordered list and shift its position with overflow:hidden
    • Use multiple divs with display:none
    • Use multiple divs and overlap

    Is there a standard to this? I’m running into trouble when I have this content box in a parent with other content boxes.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed