«

»

Jan
16

Some CSS Terms and Definitions

We’ve noticed that not everyone in the world is a web designer. We know, right? Crazy! So that means the average Joe may not know the CSS terms we use, but thankfully for you, Miami Web Design Pro is about to teach you a couple so that the next time you meet with your web designer you won’t feel like he’s speaking Latin to you.
 
A comment – A comment doesn’t effect what is displayed on the page for the readers to see, it’s just a note the CSS author leaves to remind himself, or others, of something. It is usually written like this: “/*comment*/”
 
A rule set – A rule set is a single section of CSS that includes the selector {the curly braces} and the different lines that show the properties and values of the coding.
 
A declaration block – A declaration block is the section of the CSS where the property pairs appear.
 
A declaration –Pretty much any single line that appears between the rule set. For example: {font-family: Arial, sans-serif;} is a declaration.
 
A property – A property is what appears before the colon in the any line of CSS, it denotes the size of the color of the code. For example: {width: 300px} Width is the property.
 
A value – A value is what appears after the property and the colon. For example: {width: 300px} 300 px is the value here.
 
A selector – A selector is the part of the code that shows what part the property or value applies to. For example: #container #box
 
The at-rule – The at-rule gives the coding instruction using the @ character. For example: “import url(secondary.css);”
 
Well we know that these aren’t the only CSS terms out there, but you always have to start somewhere, right?