Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@media type not working #596

Open
kungfucop opened this issue Mar 15, 2015 · 1 comment
Open

@media type not working #596

kungfucop opened this issue Mar 15, 2015 · 1 comment

Comments

@kungfucop
Copy link

@media (max-width: 767px) {
.select-large, .input-large {
font-size: 15px;
}
input[type="text"], input[type="email"], input[type="date"], input[type="password"], textarea, select {
font-size: 16px;
}
}.icon {
font-style: normal;
font-weight: normal;
line-height: 1;
}

try this

@seven-phases-max
Copy link

Of course "it's not working" since you simply override font-size with later styles (so the value set within media block never has any effect). Here goes some link to an introductory CSS tutorial about cascading and overriding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants