File tree Expand file tree Collapse file tree 1 file changed +23
-13
lines changed
starter/03-CSS-Fundamentals/notes Expand file tree Collapse file tree 1 file changed +23
-13
lines changed Original file line number Diff line number Diff line change @@ -308,19 +308,29 @@ <h3 class="chapter-sub-section-heading">A Selection of Pseudo-classes</h4>
308
308
309
309
< article class ="chapter ">
310
310
< 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 >
324
334
</ article >
325
335
326
336
< article class ="chapter ">
You can’t perform that action at this time.
0 commit comments