Basic CSS Syntax Rules Part 1 (CSS Basics Tutorial)

Published: 04 May 2011
on channel: BullsEyeWebDude
213
0

Look at the selector portion as the "who" do I want to effect.
Look at the property portion as the "what" do I want to change about its default look.
Look at the value portion as the "how" I want it to look to my viewers.

***AS LONG AS YOU FOLLOW THE SYNTAX BLANK LINES SHOULD BE OKAY. ALL THESE RENDER THE SAME RESULTS.***

selector or (selector_name)
{
property: value; property: value; property: value; property: value;
}

selector { property: value; property: value; property: value; property: value; property: value; property: value; property: value; property: value; property: value; property: value; property: value; property: value; }


selector {
property: value;
property: value;
property: value;
property: value;
}

***YOU CAN ALSO USE MULTIPLE SELECTORS AS SEEN BELOW***

selector1, selector2, selector3, selector4 {

property: value; property: value; property: value; property: value;

}

***SINCE STYLE SHEETS ARE INTERPRETED LTR AND TOP TO BOTTOM YOU CAN ALTER SELECTORS AND THEIR PROPERTIES DOWN THE LINE***

selector1 {
property: new value; property: different value;
}

***REMEMBER THAT PROPERTIES "TRICKLE DOWN" AT EACH LEVEL.***

p class="Coming_Soon" /// will share the common characteristics of both 'p' and the class "Coming_Soon".


On this page of the site you can watch the video online Basic CSS Syntax Rules Part 1 (CSS Basics Tutorial) with a duration of hours minute second in good quality, which was uploaded by the user BullsEyeWebDude 04 May 2011, share the link with friends and acquaintances, this video has already been watched 213 times on youtube and it was liked by 0 viewers. Enjoy your viewing!