Answers for "css when use id class"

CSS
7

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>
Posted by: Guest on June-03-2020

Browse Popular Code Answers by Language