Skip to content

Instantly share code, notes, and snippets.

@AlexandrBukhtatyy
Last active January 23, 2017 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexandrBukhtatyy/a3b111a3b280604924ef01aa47445ce4 to your computer and use it in GitHub Desktop.
Save AlexandrBukhtatyy/a3b111a3b280604924ef01aa47445ce4 to your computer and use it in GitHub Desktop.
Класс для указания поверх компонента, что то не работает.
.no-work:before {content: '';display: block;width: 100%;height: 100%;background-color: rgba(3,3,3,0.5);z-index: 10;position: absolute;left: 0;right: 0;top:0;}
.no-work:after {content:"Компонент времено не работает!";display:block;position: absolute;top:50%;transform:translateY(-50%); z-index:11;font-size:40px;color:#fff;left:0;right:0;text-align: center;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment