I have a Form class="form-inline center" where class "center" is as following (in style section):
.center { text-align: center }
But I want this class "center" Not to be in effect on small to very small devices. Is there Bootstrap 3 syntax for that?
You can try using just media queries.
Something like,
@media only screen and (max-width: 320px) {
.center {
text-align : (your preferred style);
}
}
Here is a JsFiddle
Similar question : Bootstrap, pull-left for small devices
More information about device and screen sizes : http://css-tricks.com/snippets/css/media-queries-for-standard-devices/
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With