overlay.css 374 B

12345678910111213141516171819202122
  1. .overlay {
  2. background: rgba(0, 0, 0, 0.4);
  3. display: flex;
  4. position: fixed;
  5. z-index: 1;
  6. top: 0;
  7. right: 0;
  8. bottom: 0;
  9. left: 0;
  10. }
  11. .contentWrapper {
  12. position: relative;
  13. display: flex;
  14. max-width: 80vw;
  15. max-height: 80vh;
  16. margin: auto;
  17. padding: 1em;
  18. color: initial;
  19. background: #FFF;
  20. box-shadow: 0 0 4px #666;
  21. }