Is there a way to dynamically change the size and number of columns a bootstrap button spans based on the screen width? I have figured out how to adjust the number of columns, but changing the size (from btn-xs
to btn-lg
) is posing a challenge. Is it possible to inherit a class and then apply a media query for this purpose?
@media only screen and (orientation: landscape) and (max-width:1024px) {
.my-button{
.btn-lg
}
}