Answers for "CSS how to select ID"

CSS
9

css how to style id

/*put a # infront of the id*/
/*<section id="example"></section>*/
#example{
	margin: auto;
}
Posted by: Guest on May-14-2020
0

CSS how to select ID

#id-selector-name{
  font-size: 20px;
}

.class-selector-name{
  color: green;
}
Posted by: Guest on November-27-2020

Browse Popular Code Answers by Language