A very light plugin for detecting Bootstrap5 breakpoints
Include the js file in your html.
<script src="bs5breakpoint.js"></script>
Run
detectbs5breakpoint()
It will return the class infix, i.e., "xs", "sm", "md", "lg", "xl", or "xxl".
Sign in for post a comment
Comments ( 0 )