You can easily make circle by using CSS. Code written in below.
HTML Code :
<html>
<head>
<title>
CSS Circle | https://native-code.blogspot.in
</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div class="div-box">
</div>
</body>
</html>
CSS Code :
.div-box {
width: 200px;
height: 200px;
background-color: gray;
border-radius: 50%;
}
Output :
IDE Used To Test This Code : Sublime Text.
Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.
HTML Code :
<html>
<head>
<title>
CSS Circle | https://native-code.blogspot.in
</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<div class="div-box">
</div>
</body>
</html>
CSS Code :
.div-box {
width: 200px;
height: 200px;
background-color: gray;
border-radius: 50%;
}
Output :
IDE Used To Test This Code : Sublime Text.
Try this code in your computer for better understanding. Enjoy the code. If you have any Question you can contact us or mail us.We will reply you as soon as possible.
Post a Comment