Welcome to our AtoZ CSS series! In this series, I’ll be exploring different CSS values (and properties) beginning with a letter of the alphabet. We know that sometimes screencasts are just not enough, in this article I’ve added a new quick tip/lesson about the ID Selector for you.
In the video for letter I, we looked at the ID selector and how it factors into CSS. I also had a good rant about the issues with using id
over class
, both in terms of reusability and specificity.
To balance the argument a little I should talk about when we should use ID and why.
Continue reading %AtoZ CSS Quick Tip: When to Use the ID Selector Code%
by Guy Routledge via SitePoint
No comments:
Post a Comment