Compare Revisions

:target

Change Revisions

Revision 393701:

Revision 393701 by Sheppy on

Revision 404711:

Revision 404711 by teoli on

Title:
:target
:target
Slug:
Web/CSS/:target
Web/CSS/:target
Tags:
"css", "CSS Reference", "Selectors", "fixit"
"css", "CSS Reference", "Selectors"
Content:

Revision 393701
Revision 404711
n7    <p>n
8      {{todo("Some styles have affected the TOC")}}
9    </p>
n54    <h4 id="Working_with_.22display.3A_none.3B.22_elements.E2.80.n51    <h3 id="Working_with_.22display.3A_none.3B.22_elements.E2.80.
>A6">>A6">
55      Working with "<code>display: none;</code>" elements…52      Working with display: none elements…
56    </h4>53    </h3>
n88    <h4 id="Creating_a_pure_CSS_.22lightbox.22">n85    <h3 id="Creating_a_pure_CSS_.22lightbox.22">
n90    </h4>n87    </h3>
n92      The <code>:target</code> pseudo-class is useful to switch on89      The <code>:target</code> pseudo-class is useful to switch o
>n/off some invisible elements. In this way you can create a pure->n/off some invisible elements. In this way you can create a pure-
>CSS lightbox (<a href="https://developer.mozilla.org/files/4607/l>CSS lightbox (<a href="https://developer.mozilla.org/files/4607/l
>ightbox.html" title="https://developer.mozilla.org/files/4607/lig>ightbox.html" title="https://developer.mozilla.org/files/4607/lig
>htbox.html">live demo</a>).{{todo}}>htbox.html">live demo</a>).
t215    <p>t
216      {{todo("duplicated link")}}<a href="https://developer.mozil
>la.org/files/4607/lightbox.html" title="https://developer.mozilla 
>.org/files/4607/lightbox.html">View this example in action</a> 
217    </p>

Back to History