css how to style a div

CSS
/*
<div class="#">
	<p>Hello World</p>
</div>
*/
/*put a dot in front of the name from your class*/
.#{
	display: block;
  	margin: auto;
  	width: 50%;
}
Source

Also in CSS: