Is there a way to use the bootstrap breakpoints xs,md etc. as a condition for assigning classes?
Example:
<span class="text-large-md text-small-xs">My Text</span>
I just want to be flexible assigning classes, depending on which screensize (breakpoint) I am.
Update: Bootstrap has helper classes like hidden-xs. So if you want to hide a text on a button on small screens you can use this class. But if the button for instance uses a fix width (assigned by a class), the button size won't change. So my question is, how to change class styles depending on the screen size, via bootstrap.
You could write something like this with LESS (if you're compiling with Bootstrap's LESS):
Or just CSS: