Test: Difference between revisions

Content deleted Content added
JWBTH (talk | contribs)
JWBTH (talk | contribs)
Line 217: Line 217:
   
 
=== Hidden elements ''before'' the first paragraph in a container (very common case on top of pages) ===
 
=== Hidden elements ''before'' the first paragraph in a container (very common case on top of pages) ===
  +
'''Those will stand in the way when using <code>:first-child</code>.'''
 
<div style="background-color: #fef6e7; padding: 0.5em;">
 
<div style="background-color: #fef6e7; padding: 0.5em;">
 
{{hidden}}
 
{{hidden}}
Line 226: Line 227:
   
 
=== Hidden elements ''after'' the last paragraph in a container (relatively rare case) ===
 
=== Hidden elements ''after'' the last paragraph in a container (relatively rare case) ===
  +
'''Those will stand in the way when using <code>:last-child</code>.'''
 
<div style="background-color: #fef6e7; padding: 0.5em;">
 
<div style="background-color: #fef6e7; padding: 0.5em;">
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
 
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.