target an id with css code example
Example 1: css how to style id
/*put a # infront of the id*/
/*<section id="example"></section>*/
#example{
margin: auto;
}
Example 2: id in css
#id{
color:red;
}
/*put a # infront of the id*/
/*<section id="example"></section>*/
#example{
margin: auto;
}
#id{
color:red;
}