Skip to content

Instantly share code, notes, and snippets.

@derpixler
Created June 8, 2011 07:08
Show Gist options
  • Save derpixler/1013942 to your computer and use it in GitHub Desktop.
Save derpixler/1013942 to your computer and use it in GitHub Desktop.
Purple Pacman
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Purple Pacman</title>
</head>
<style>
#pacman{
width: 0px;
height: 0px;
border-right: 60px solid purple;
border-top: 60px solid purple;
border-left: 60px solid transparent;
border-bottom: 60px solid purple;
-moz-border-radius:60px;
-webkit-border-radius:60px;
border-radius:60px;
}
</style>
<body>
<div id="pacman"></div>
</body>
</html>
@starflower444
Copy link

pacman {

border-color: purple transparent purple purple;
border-radius: 60px 60px 60px 60px;
border-right: 60px solid transparent;
border-style: solid;
border-width: 60px;
height: 0;
width: 0;

}

so is der pacman richtig rum :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment