Skip to content

Instantly share code, notes, and snippets.

@csim
Created June 6, 2014 15:55
Show Gist options
  • Save csim/30aed7384208a76f6a07 to your computer and use it in GitHub Desktop.
Save csim/30aed7384208a76f6a07 to your computer and use it in GitHub Desktop.
Bootstrap size indicator
<div style="position: fixed; top: 0px; left: 0px; z-index: 10000;" class="btn btn-default">
<div class="visible-xs">Extra Small (xs)</div>
<div class="visible-sm">Small (sm)</div>
<div class="visible-md">Medium (md)</div>
<div class="visible-lg">Large (lg)</div>
</div>
@Joniras
Copy link

Joniras commented Jul 6, 2017

Thanks, saved me a minute that i just spent writing that comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment