The way CSS saves work is the ability to use external style sheets, in laymen's terms: having your CSS document separate from you HTML document.
CSS documents are normally saved in external .css files, editing this file allows you to change all your pages at once.
CSS Syntax
A CSS rule has 2 main parts, the selector and the declaration, Here's an example:
h1 {The selector is usually the HTML element you want to style. Each declaration consists of a property and a value, The property is the style attribute you want to change and each property has a value.
color:red;
font-size:14px;
}
To add comments to CSS code you use "/*" to open the comment and "*/" to close it.
I have heard of CSS but never really knew what it was until now. I look forward to part 2 of the tutorial.
ReplyDeletecan you tell me what it is used for?
ReplyDeleteLinux, It's essential to make sites look good.
ReplyDeletenice, im fairly new to programming and these can help me out alot mostly with the newer HTML updates at least its not a MAC :D
ReplyDeleteGetting a little more advanced now, i like it. I actually never knew what CSS stood for until now.
ReplyDeletecheers murder, love coming to your blog and learning a bit of scripting at a time :D
ReplyDeleteI never worked with Linux before. Never really needed to. Keep them coming, though. No such thing as bad knowledge.
ReplyDeleteI've always wanted to get into scripting.
ReplyDeleteMay be getting into this soon. Smart life skills learning this stuff, mate.
ReplyDeleteNice tutorial bro!
ReplyDeleteLove coming here, always get to learn something new and extremelu useful :D cheers mate
ReplyDelete