CSS create a circle / border-radius effects /
CSS create a circle / border-radius effects
<html>
<head>
<title> border-radius </title>
</head>
<body>
<div>
hello
</div>
</body>
---------------------------------------------------------------------------------------------------
div { height:150px;
width:150px;
background-color:black;
color:grey;
border-radius:50%;
line-height:150px; //use ---line-height & text-align to adjust word //
text-align:center;
}
-------------------------------------------------------------------------------------------------
--------------------------------------------------------------
Comments
Post a Comment