Reputation: 776
Hello stackoverflow community! I need help with @media query. I've added:
@media only screen and (max-device-width: 480px) {
.logo-nam-text {
font-size: 50px;
}
}
To my style.css but it doesn't work, what am I doing wrong? Should I create new file with that query? What if I want to use it in the same stylesheet?
Upvotes: 1
Views: 47
Reputation: 195992
You might want to use max-width
instead of max-device-width
.
Upvotes: 1