Type Here to Get Search Results !

CSS Fundamental

What is CSS?

CSS stands for Cascading Style Sheets
CSS is used for describing presentation semantics of a web page, usually written in HTML
CSS was created to separate presentation from content
It is now considered bad practice to use inline styling such as <p bgcolor=“red”>Some text</p>

CSS History Timeline

Dec 1996 – CSS 1 was published as W3C recommendation
May 1998 – CSS2 was published as W3C recommendation
April 2011 – CSS 2.1 published as W3C recommendation
CSS 3 is divided into several separate documents called "modules". Each module adds new capabilities or extends features defined in CSS 2, over preserving backward compatibility. 
Media Queries 2012-06-19
Namespaces 2011-09-29
Selectors Level 3 2011-09-29
Color 2011-06-07

Implementing CSS

CSS can be used inline like so
<p style=“padding:5px”>Some text</p>
BUT is better to use an external stylesheet. You can create a sheet using a .css extension and include it in your HTML document like so…
<link rel=“stylesheet” href=“style.css” type=“text/css” />

Creating a CSS style in an external stylesheet

New CSS3 Features

Media Queries
Rounded Corners
Text Effects
Colors & Gradients

Post a Comment


Top Post Ad

Below Post Ad