Skip to content

Commit a4ad02e

Browse files
committed
ch. 31 css theory jonasschmedtmann#1: conflicts between selectors
1 parent 0cf4e12 commit a4ad02e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,10 @@ <h2 class="chapter-heading">Ch. 31 CSS Theory #1: Conflicts Between Selectors</h
363363
<img class="lecture-slide" src="img/conflicting_selectors_and_declarations.png" />
364364
<img class="lecture-slide" src="img/resolving_conflicing_selectors.png" />
365365
<section class="chapter-sub-section">
366+
<p>
367+
If the hierarchy alone cannot resolve a conflict, then the last read conflicting
368+
declaration is applied.
369+
</p>
366370
<p>
367371
In VSCode, mousing over a CSS selector will show the "Selector
368372
Specificity".

0 commit comments

Comments
 (0)