-
-
Save arcticlinux/fdfeaed7ab36ee88a1a51b0cdebac70e to your computer and use it in GitHub Desktop.
Bootstrap 4 size indicator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="position: fixed; top: 0; left: 0; z-index: 10000;"> | |
<button class="d-block d-sm-none">Extra Small (xs)</button> | |
<button class="d-none d-sm-block d-md-none">Small (sm)</button> | |
<button class="d-none d-md-block d-lg-none">Medium (md)</button> | |
<button class="d-none d-lg-block d-xl-none">Large (lg)</button> | |
<button class="d-none d-xl-block">X-Large (xl)</button> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment