I'm currently working on a web app where I am using the CSS "transform" property to rotate text by 90 degrees on large and desktop screens. However, I would like the rotation angle to automatically change to 0 degrees if the screen size is small. Can someone please provide guidance on how I can implement this?
HTML
<div class="col-md-1 lift">
<label>Legend</label>
</div>
CSS
.lift label {
transform: rotate(-90deg);
}