How to Make Egg Shape Using CSS

Share on facebook
Share on linkedin
Share on twitter
Share on email
Use "ufd6qb86" For Offers

How to create Egg Shape using CSS

https://youtu.be/xEjqvxfbXKY

HTML Code

<html>
<head>
  <title>Shape</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="css/style.css"/>

</head>
<body>

<div class="container">
		
	<div class="egg">
</div>
</div>


</body>
</html>

CSS Code

body{
	margin:0;
}

*{
	box-sizing: border-box;
}


 .container{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

.egg{
	width: 250px;
	height: 380px;
	background-color: blue;
	border-radius: 50% 50% 50% 50%/ 60% 60% 30% 30%;
}
Get 20% Off on Trading Fee Use "LG3RJV7Z"

More To Explore

Use "ufd6qb86" For Offers