Saturday, November 27, 2004

Which Best Deodorant For Women



Grouping selectors

When several elements share the same CSS property, We can group them:

h1, h2, h3, h4, h5, h6 {color: purple;}

h1, h2, h4 {color: purple;}
h2, h3 {background: green;} h1
, h4, b {background: white;}
b3 {color: white;}
b {color: red;}


Grouping statements


We can group the different rules that define the same element.


h1 {font: 18pt Helvetica;
color: purple;
background: aqua;}


Grouping selectors and declarations


body {background: white;
color: gray;}


h1, h2, h3, h4, h5, h6 {
font-family: Helvetica, sans-serif;
color: white;
background : black;}


h1, h2, h3 {
border: 2px solid gray;
font-weight: bold;}


h4, h5, h6 {
border: 1px solid gray;}


Programacion.com

0 comments:

Post a Comment