Skip to content

Instantly share code, notes, and snippets.

@netsmertia
Created August 12, 2020 14:55
Show Gist options
  • Save netsmertia/00fb62f58244043adbe1df415746b3fc to your computer and use it in GitHub Desktop.
Save netsmertia/00fb62f58244043adbe1df415746b3fc to your computer and use it in GitHub Desktop.
Bootstrap Resize Indicator
<div style="
position: fixed;
top: 90%;
left: 50%;
z-index: 10000;
transform: translate(-50%, -50%);
background: rgba(247, 201, 241, 0.5);
padding: 20px;
border-radius: 30px;
">
<div class="d-block d-sm-none">Extra Small (xs)</div>
<div class="d-none d-sm-block d-md-none">Small (sm)</div>
<div class="d-none d-md-block d-lg-none">Medium (md)</div>
<div class="d-none d-lg-block d-xl-none">Large (lg)</div>
<div class="d-none d-xl-block" >X-Large (xl)</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment