This site is a low down on what's going on in my life, what I'm working on, what I'm thinking about, and how I'm feeling about life in general.
Thursday, 03 April 2008 23:53
Web development is rife with fantastic words and phrases. I just read one of them in an article in .net magazine, Descendant Selectors
This term simply refers to styles applied to an element or class based on the parent element or class.
h1 { color: red; }
.header h1 { color: blue; }
The code above would render H1 tags in red, except when they occur within an object with the .header class.
For further details check out the w3c guidelines on types or CSS selectors here.