height:200px;
width:200px;
background: #000;
border-radius: 50%; /* for a circle, if you want a square you can remove this line.*/
height:200px;
width:200px;
background: #000;
border-radius: 50%; /* for a circle, if you want a square you can remove this line.*/
I am not entirely sure how to react to this.display: block; makes the div in document visible, if you need a shape you'll need:
If you want to learn css and html,here you go:CSS:height:200px; width:200px; background: #000; border-radius: 50%; /* for a circle, if you want a square you can remove this line.*/
You must be registered for see links
BasicallyI am not entirely sure how to react to this.
display: block;
doesn’t give you a block shape (ie a square). It tells the browser to visibly display whatever is inside the tags. Look up some articles on W3Schoolsdiv
that class name. You don’t need to set display: block;
on it as divs are block elements by default.