Created
December 26, 2012 19:37
-
-
Save juanbrujo/4382513 to your computer and use it in GitHub Desktop.
A CodePen by Jorge Epuñan. Logo Almagro - Hecho completo con CSS3 y la ayuda de LESS.
Es proporcional al @ancho si lo modificas todos los otros valores como tamaño de fuente y radio del borde se ajustan.
* fácilmente traducible a SASS o Stylus
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
<h1 class="logo-almagro">Almagro<sub>®</sub></h1> |
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
/** | |
Hecho completo con CSS3 y la ayuda de LESS. | |
Es proporcional al @ancho si lo modificas todos los otros valores como tamaño de fuente y radio del borde se ajustan. | |
* fácilmente traducible a SASS o Stylus | |
**/ |
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
@ancho: 100px; | |
.logo-almagro { | |
background-color: #d3212b; | |
color: white; | |
width: @ancho; | |
height: @ancho/3; | |
padding-top: @ancho*.7; | |
border-radius: @ancho/10; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
font-size: @ancho/4.7; | |
text-align: center; | |
text-transform: lowercase; | |
line-height: 100%; | |
sub { | |
font-size: 20%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment