Skip to content

Instantly share code, notes, and snippets.

@LasseRafn LasseRafn/app.sass
Created Dec 3, 2019

Embed
What would you like to do?
ENV display
body
&:before
z-index: 9999999999999
position: fixed
width: 100%
font-size: 10px
left: 0
top: 0
padding: 0 4px
line-height: 9px
font-weight: bold
overflow: hidden
white-space: nowrap
text-align: center
&.local
&:before
display: block
background: red
color: rgba(255,255,255,.9)
content: "LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL"
&.staging
&:before
display: block
background: yellow
color: rgba(0,0,0,.9)
content: "STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING STAGING"
&.production
&:before
display: none !important
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.