Child combinator(>) in css

by Rekha 2009-08-28 16:39:14

I had seen the symbol > used in most of the style sheets in external sites.I searched what does it mean and finally got the point.

It is called Child combinator, designated by a ">" symbol placed between simple selectors. An example of this is
#leftcol>p {color: blue;}, which would make the text blue in all paragraphs that are direct children of #leftcol.

Tagged in:

1362
like
0
dislike
0
mail
flag

You must LOGIN to add comments