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".
En esta página del sitio puede ver el video en línea Basic CSS Syntax Rules Part 1 (CSS Basics Tutorial) de Duración hora minuto segunda en buena calidad , que subió el usuario BullsEyeWebDude 04 mayo 2011, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 213 veces y le gustó 0 a los espectadores. Disfruta viendo!