Skip to content

Commit 0cf4e12

Browse files
committed
ch. 29 styling hyperlinks
1 parent 7b68f17 commit 0cf4e12

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

starter/03-CSS-Fundamentals/notes/index.html

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -308,19 +308,29 @@ <h3 class="chapter-sub-section-heading">A Selection of Pseudo-classes</h4>
308308

309309
<article class="chapter">
310310
<h2 class="chapter-heading">Ch. 29 Styling Links</h2>
311-
<p>
312-
It is not good practice to only use the element-selector for styling
313-
links. Links have a few states, that can be selected in CSS by use of
314-
specific pseudo-class selectors.
315-
</p>
316-
<p>Link pseudo-classes are always written in a specific order:</p>
317-
<ul>
318-
<li>:link</li>
319-
<li>:visited</li>
320-
<li>:hover</li>
321-
<li>:active</li>
322-
</ul>
323-
<p>It may be useful to think of the acronym LVHA.</p>
311+
<div class="chapter-sub-section">
312+
<p>
313+
It is not good practice to only use the element-selector for styling
314+
links. Links have a few states, that can be selected in CSS by use of
315+
specific pseudo-class selectors.
316+
</p>
317+
<p>Link pseudo-classes are always written in a specific order:</p>
318+
<ul>
319+
<li>:link</li>
320+
<li>:visited</li>
321+
<li>:hover</li>
322+
<li>:active</li>
323+
</ul>
324+
<p>
325+
deviating from this order typically results in undesirable css being applied
326+
to a particular state
327+
</p>
328+
<p>It may be useful to think of the acronym LVHA.</p>
329+
</div>
330+
<article class="chapter-sub-section">
331+
<h3 class="chapter-sub-section-heading">New Property</h3>
332+
<code>text-decoration</code>
333+
</article>
324334
</article>
325335

326336
<article class="chapter">

0 commit comments

Comments
 (0)