Categories: Uncategorized

How to Make Egg Shape Using CSS

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%;
}
reecry

Recent Posts

Insta360 – Videos keep exporting backwards | Wrong side render in insta360

https://youtu.be/0RRUOIvmuWA I realized that I had my camera set up incorrectly, so when I upload…

11 months ago

Make Animated progress step bar using Figma

https://youtu.be/C3oFfV20K_c Make Animated progress step bar using Figma

1 year ago

How to Hide All Grids in Figma

https://youtu.be/o3pSH_oRzko How to Hide All Grids in Figma

1 year ago

How to Create Responsive Tool tip in figma

https://youtu.be/hdSUylKSsho How to Create Responsive Tool tip in Figma

1 year ago

Pixel Grid not visible in figma | How to Turn on figma Pixel Grid

https://youtu.be/AEiH7dSDhKo Having issue in figma pixel grid? learn how to show/ hide figma pixel grid…

1 year ago

Fix External Monitor Lag on Mac OS Ventura

https://youtu.be/iilYzHg9LwQ There are some issues going on in ventura OS its still in development phase…

2 years ago