Grizzly
0
Q:

how to call an id in css

<style>
  #selector {
  color: red;
}
/* # is id selector */
</style>


<div id="selector">
<p>This is an id</p>
</div>

6
/*put a # infront of the id*/
/*<section id="example"></section>*/
#example{
	margin: auto;
}
6

New to Communities?

Join the community