Selectors

The div selector makes this text red, since it is contained within a div tag.

The .blue selector makes this text blue, since it is contained within a span with a class "blue".


/*CSS CODE*/
 
@import url(http://css-sandbox.wdfiles.com/local--code/admin:themes);
 
div{
    color: blue green;
}
 
.blue{
    color: wheat;
}
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License