Specificity in "ICE": CSS Styling Rule

Specificity 

Many HTML elements may be targeted with various rules. Specificity is when the algorithm determines what styling rule to apply. 

"Inline Identifies class & elements."

This statement is to marry the thought that the priority of styling when requested prioritizes the first to last word the in phrase "Inline, Identifies class & elements."
This describes the higher to Lowest priority when multiple CSS rules apply to the same HTML element. 
First it will apply inline rules. Next it will prioritize id attributes for specific ruling. Next it will prioritize for class attributes that target more than one elected attribute. Finally it will prioritize the elements as the lowest order 


Comments

Popular posts from this blog

Nalej Take Ownership, Word Study

'Life Moves Forward' Not 'Back and Forth'

Plant-Based Protein Substitutes