Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@rictorres
Forked from tkadlec/trigram.html
Created September 10, 2012 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rictorres/3688795 to your computer and use it in GitHub Desktop.
Save rictorres/3688795 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