css first element of div code example Example: select first div css #content div:first-child { /*css*/ }