Grow your CSS skills. Land your dream job.

How To Reveal Variable Section of Text?

  • # May 15, 2010 at 2:14 pm

    i’d like to hide the top AND bottom of a block of text.

    for example, if my text contains three paragraphs, i want css to hide the FIRST and LAST paragraphs.

    this would be like a window on a section of the text, where i can reveal different parts of the text just by changing the css.

    text
    text
    text visible section—start
    text
    text
    text
    text visible section—end
    text
    text
    text

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".