Skip to content

Instantly share code, notes, and snippets.

@letunglam
Forked from tkadlec/trigram.html
Created August 18, 2012 08:47
Show Gist options
  • Save letunglam/3385400 to your computer and use it in GitHub Desktop.
Save letunglam/3385400 to your computer and use it in GitHub Desktop.
Trigram for heaven icon
<html>
<head>
<title>Trigram for heaven icon</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width" />
<style type="text/css">
li {
list-style-type: none;
}
#menu{
position: relative;
}
#menu a{
padding-left: 1.25em; /* 20px/16px */
}
#menu a:before {
content: "";
position: absolute;
top: 30%;
left:0px;
width:.75em; /* 12px/16px */
height:.125em; /* 2px/16px */
border-top: .375em double #000; /* 6px/16px */
border-bottom: .125em solid #000; /* 2px / 16px */
}​​​​​​​​​​​​​​​​​​​​​​​​​​​
</style>
</head>
<body>
<li id="menu"><a href="#">Menu</a></li>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment