css select only the first div code example
Example 1: select first div css
#content div:first-child {
/*css*/
}
Example 2: select first child in element css
p:first-child
{
background-color: yellow;
}
#content div:first-child {
/*css*/
}
p:first-child
{
background-color: yellow;
}