WHAT IS CSS?

CSS stands for Cascading Style Sheets its a declarative language and its a great way to organize the content by changing the layout, adding color, and changing fonts.

In week 3 and 4 we went over some CSS basics. CSS stands for Cascading Style Sheets its a declarative language and its a great way to organize the content by changing the layout, adding color, and changing fonts. Now notice how it says Cascading Style Sheets it means that there is many rules and there is ways in which what rule gets represented. Its important to understand three main things about CSS:

Inheritance: How CSS styles apply to HTML tags based on the parent element.

Cascade: Are rules that Determine what CSS style will apply to the HTML. 

Specificity: The browser determines which CSS values are the most important and will be applied.

Its important to understand this because you might write a rule and think “Why is it not working properly?” it could be because of the order it was written in, maybe something has higher property, or it wasn’t specific enough.

Leave a Reply

Your email address will not be published. Required fields are marked *