frames.css 712 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. *{
  2. box-sizing: border-box;
  3. padding: 0;
  4. margin: 0;
  5. }
  6. :root {
  7. --grid-cols: 1;
  8. --grid-rows: 1;
  9. }
  10. #container {
  11. display: grid;
  12. /*grid-template-rows: repeat(var(--grid-rows), 1fr); not working in Firefox*/
  13. grid-auto-rows: calc(100vh/var(--grid-rows));
  14. grid-auto-columns: calc(100vw/var(--grid-cols));
  15. grid-template-columns: repeat(var(--grid-cols), 1fr);
  16. width: 100vw;
  17. height: 100vh;
  18. }
  19. .grid-item {
  20. border: none;
  21. background-color: #fff;
  22. text-align: center;
  23. }
  24. .grid-item-invis{
  25. border: none;
  26. text-align: center;
  27. width: 0px;
  28. height: 0px;
  29. background-color: #fff;
  30. }
  31. .formbutton{
  32. position: relative;
  33. top: -6em;
  34. right: 2em;
  35. z-index: 9;
  36. padding: 1em;
  37. float: right;
  38. }