Reputation: 9103
I have a situation like
<div class="foo">...</div>
where
.foo {float:left;}
How can I "disable" that float
effect when I am inside @media
?
Upvotes: 0
Views: 174
Reputation: 390
You can set float: initial
for that. This makes that element to default value. For More Info
Upvotes: 1
Reputation: 630
you can unset any property as in CSS
@media not|only mediatype and (expressions) {
.foo {
float: unset;
}
}
Upvotes: 2