How To Create A Water Drop Shape Using CSS3
In This CSS Tutorial we will see How To Design A Water Drop Shape Using HTML And CSS3 In Netbeans Editor .
Project Source Code:
<!DOCTYPE html>
<html>
<head>
<title>CSS3 Water Drop Shape</title>
<meta charset="windows-1252">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body{background-color: black;}
.container{width: 700px;height: 300px;
margin: 100px auto;overflow: hidden;}
.shape{
width: 200px;
height: 200px;
background-color: #00eaff;
border-radius: 50%;
border-top-right-radius: 0;
transform: rotate(-45deg);
float: left;
margin-top: 50px;
margin-left: 20px;
border: 5px solid #fff;
}
.container div:nth-of-type(2)
{
width: 150px;
height: 150px;
}
.container div:nth-of-type(3)
{
width: 100px;
height: 100px;
}
.container div:nth-of-type(4)
{
width: 50px;
height: 50px;
}
.container div:nth-of-type(5)
{
width: 25px;
height: 25px;
}
</style>
</head>
<body>
<div class="container">
<div class="shape"></div>
<div class="shape"></div>
<div class="shape"></div>
<div class="shape"></div>
<div class="shape"></div>
</div>
</body>
</html>