A Pen by Chaitanya-Pratap-Singh on CodePen.
Last active
December 20, 2021 06:43
-
-
Save Chaitanya-Pratap-Singh/5831cf98434ede2453905d28f9f1df48 to your computer and use it in GitHub Desktop.
Pacman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
.pacman { | |
border-top: 60px solid yellow; | |
border-bottom: 60px solid yellow; | |
border-left: 60px solid yellow; | |
border-right: 60px solid transparent; | |
width: 0px; | |
border-top-left-radius: 60px; | |
border-top-right-radius: 60px; | |
border-bottom-left-radius :60px; | |
border-bottom-right-radius: 60px; | |
} | |
h1{ | |
font-size: 50px; | |
} | |
</style> | |
<title>PACMAN</title> | |
</head> | |
<body> | |
<h1 align = center ><bold>PACMAN</bold></h1> | |
<div class="pacman"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment