-
-
Save rickbenetti/5a155b503d724b52d9d2 to your computer and use it in GitHub Desktop.
CSS start para melhor leitura do texto e alguns detalhes de alinhamentos. Font-face-new - usando somente EOT e WOFF
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
@font-face { | |
font-family: 'font_desejada'; | |
src: url('fonts/font_desejada.eot'); | |
src: url('fonts/font_desejada.eot?#iefix') format('embedded-opentype'), | |
url('fonts/font_desejada.woff') format('woff'), | |
url('fonts/font_desejada.ttf') format('truetype'); | |
font-weight: normal; | |
font-style: normal; | |
} |
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
/** | |
* | |
* Adicionar ao CSS após o CSS Reset | |
* | |
* Sites para Converter Fonts em WebFonts | |
* http://convertfonts.com/ | |
* http://www.fontsquirrel.com/tools/webfont-generator | |
* http://fontface.codeandmore.com/ | |
* | |
**/ | |
* { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
body { | |
-webkit-font-smoothing: antialiased; | |
-moz-font-smoothing: antialiased; | |
-ms-font-smoothing: antialiased; | |
font-smoothing: antialiased; | |
-moz-text-shadow: 0 0 1px rgba(0, 0, 0, 0.01); | |
-ms-text-shadow: 0 0 1px rgba(0, 0, 0, 0.01); | |
text-shadow: 0 0 1px rgba(0, 0, 0, 0.01); | |
-webkit-text-stroke: 1px transparent; | |
-moz-text-stroke: 1px transparent; | |
-ms-text-stroke: 1px transparent; | |
text-stroke: 1px transparent; | |
text-rendering: optimizeLegibility; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment