Skip to content

Ada-C22/more-neat-css-specificity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSS Specificity

Example to accompany More Neat CSS Things.

Usage

  1. Observe the initial state of the page. The text appears in blue, since all of the selectors have the same specificity, and the blue rule comes last.

  2. Modify the stylesheet gradually incorporating higher specificity selectors so that earlier rules still take precedence.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 81.5%
  • CSS 18.5%