frames.css 779 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. body {
  11. width: 100vw;
  12. height: 100vh;
  13. }
  14. #container {
  15. display: grid;
  16. /*grid-template-rows: repeat(var(--grid-rows), 1fr); not working in Firefox*/
  17. grid-auto-rows: calc(100vh/var(--grid-rows));
  18. grid-auto-columns: calc(100vw/var(--grid-cols));
  19. grid-template-columns: repeat(var(--grid-cols), 1fr);
  20. overflow: hidden;
  21. width: 100%;
  22. height: 100%;
  23. }
  24. .grid-item {
  25. border: none;
  26. background-color: #fff;
  27. text-align: center;
  28. }
  29. .grid-item-invis{
  30. border: none;
  31. text-align: center;
  32. width: 0px;
  33. height: 0px;
  34. background-color: #fff;
  35. }
  36. .formbutton{
  37. position: relative;
  38. bottom: 4.8em;
  39. right: 0.8em;
  40. z-index: 9;
  41. padding: 1em;
  42. float: right;
  43. }