I currently have a div element:
<div class="...">...</div>
When the window is resized to its minimum width and the style hidden-xs
is applied, I need to add a few more classes to my div.
After resizing the window, it should look like this:
<div class="... margin-top padding-top">...</div>
Is there a way to conditionally apply these classes in CSS? p.s. Could this possibly be done directly in HTML using AngularJS?