Categories: Uncategorized

How to Make Pac Man Shape Using CSS

https://youtu.be/lMw9CGLtCLw

Learn how to create pac man shape using css only, source code is given and video tutorial with explanation too.

HTML Code

<!DOCTYPE html>
<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="arrow-pointer"></div>
 </div>
 
 
</body>
</html>

CSS Code

body{
 margin:0;
}

*{
 box-sizing: border-box;
}

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

.pac-man{
 width: 0;
 height: 0;
 border-top: 50px solid red;
 border-left: 50px solid red;
 border-bottom: 50px solid red;
 border-right: 50px solid transparent;
 border-radius: 50%;

} 
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…

9 months ago

Make Animated progress step bar using Figma

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

11 months ago

How to Hide All Grids in Figma

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

11 months ago

How to Create Responsive Tool tip in figma

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

11 months 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…

11 months 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