A Pen by David Díaz on CodePen.
Last active
August 29, 2015 14:17
-
-
Save dgdavid/5f6c5140ed82239fba5c to your computer and use it in GitHub Desktop.
Ñ for CSS Sans Font
This file contains hidden or 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
<div class="ene"></div> |
This file contains hidden or 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
/* Letter Ñ for CSS Sans */ | |
/* http://yusugomori.com/projects/css-sans/fonts */ | |
.ene { | |
position: relative; | |
top: 25px; | |
left: 10px; | |
width: 63px; | |
height: 125px; | |
border-width: 0 15px 0 15px; | |
border-color: #000000; | |
border-style: solid; | |
} | |
.ene:after { | |
transform: skew(30deg,0); | |
position: absolute; | |
content: ''; | |
top: 0; | |
left: 24px; | |
width: 15px; | |
height: 125px; | |
background-color: #000000; | |
} | |
.ene:before { | |
margin-top: -80px; | |
content: "\02dc"; | |
font-size: 200px; | |
position: absolute; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment