I use bootstrap4 to create a mobile first responsive layout with elements with different positions and have various rows and columns set up that I adjust for the different categories of screen size.
I am wondering if there are pure bootstrap styling classes that would allow me to apply and remove position (absolute, fixed, relative) for the different sizes, without having to create my own css media queries.
For example, if I wanted to have a container that on mobile becomes fixed and on desktop becomes absolute only on medium size screen...
<div id="back-to-top" class="position-fixed position-sm-absolute position-md-relative">
<a href="#">
<i class="fa fa-chevron-up"></i>
</a>
</div>
I'm also using the wordpress with css so can't get into the sass easily. Any suggestions?