What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

CSS Specificity

TagSelector

New member
One of the most difficult and confusing subjects for me to learn in CSS is "CSS specificity".
It is knowing which selector would take precedence over the formatting of an element.

I found this article explaining the topic on hand:

https://css-tricks.com/specifics-on-css-specificity/

I hope this explains which selector would take style priority on an element.

There's also a specificity calculator that I found on this link below:

https://specificity.keegan.st/

Let me know your thoughts.
 
Back
Top