I need to change both the size (e.g btn-xs to btn-lg) and the number of columns a bootstrap button spans, based on the width of the screen. The last part is not a problem, but how do I do the first part? Is there a way to inherit class and then do a media-query e.g
@media only screen and (orientation: landscape) and (max-width:1024px) {
.my-button{
.btn-lg
}
}