Created
July 1, 2013 21:56
-
-
Save madalinignisca/5904993 to your computer and use it in GitHub Desktop.
Replace title with logo example the better way (solves some performance problem in many low mobile devices)
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.logo a { | |
display: block; | |
width: 300px; | |
height: 100px; /* valori de dimensiuni in functie de logo */ | |
background: url(logo.png) no-repeat 0 0; | |
font: 0/0 a; /* truc sa facem textul ascuns */ | |
/* ne asiguram ca resetam eventuale mosteniri nedorite */ | |
border: 0; | |
text-shadow: 0; | |
color: transparent; | |
background-color: transparent; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment