Recent Comments
No comments to show.
Tag Archives: universal selector
Box-sizing: border-box
Adding padding and border sizes will now reduce the content size, but it makes it so much easier than trying to add up border + padding + content of every element in your CSS. Without the box-sizing: border-box property your … Continue reading
Posted in Web Developer Course
Tagged border, border-box, box model, css, height, padding, section 4, universal selector, width
Leave a comment
CSS Theory #2: Inheritance and the Universal Selector
An inherited property is very easily overwritten by any rule, which has a value for that same property. So, inherited properties are the ones who have the lowest priority. This is really elements inheriting values from one another and is … Continue reading
Posted in Web Developer Course
Tagged css, inheritance, section 3, theory, universal selector
Leave a comment