7
I’m making a theme for wordpress and put the font with the size of 5em what’s around 80px, but when I test on my cell phone with 320px wide, the font gets broken and ugly, I wanted something that made the font automatically stay in the required size.
My css is like this currently:
#header .logo {
height: 120px;
box-sizing: border-box;
width: 100%;
text-align: center;
padding: 30px 0 0 0;
color: #FFF;
font-size: 5em;
font-weight: bolder;
text-transform: uppercase;
font-family: 'Raleway';
}
I left the link pro canIUse in the other reply, rsrs. Great answer. ++
– Samir Braga
@Samirbraga upvote for another answer, very detailed ;)
– Guilherme Nascimento