Answers for "css how to style a div"

CSS
2

css how to style a div

/*
<div class="#">
	<p>Hello World</p>
</div>
*/
/*put a dot in front of the name from your class*/
.#{
	display: block;
  	margin: auto;
  	width: 50%;
}
Posted by: Guest on May-14-2020

Browse Popular Code Answers by Language