Created
June 3, 2019 15:48
-
-
Save cebe/66c16490f648ef4a56a4f8be599d5432 to your computer and use it in GitHub Desktop.
Bootstrap 3 responsive level indicator
This file contains hidden or 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
<!-- put this code directly after <body> tag, for non-Yii environment, skip the if() statement --> | |
<?php if (YII_DEBUG): ?> | |
<!-- bootstrap responsive level indicator, only shown in debug mode --> | |
<div style="position: fixed; top: 0; left: 0; background: white; border: solid 1px #ccc; width: 25px; height: 18px; text-align: center; font-size: 10px; font-weight: bold; opacity: 0.5; z-index: 10000;" title="bootstrap responsive level indicator"> | |
<span class="visible-xs-inline">xs</span> | |
<span class="visible-sm-inline">sm</span> | |
<span class="visible-md-inline">md</span> | |
<span class="visible-lg-inline">lg</span> | |
</div> | |
<?php endif; ?> |
Author
cebe
commented
Jun 3, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment