Determine theme in stylesheet

I know how to add the md-only and ios-only classes, but is it possible to do this in a stylesheet too?

For example if I have the following CSS:

.label-buttons {
  background-color: #C7D406;	
  box-shadow: 0px 6px 9px #0000004D;
  font-size: 9px;
}

How can I set the font-size to 9px for MD but 11px for iOS?

Thanks

.ios .label-buttons {
  font-size: 11px;
}
.md .label-buttons {
  font-size: 9px;
}
1 Like