main.css 557 B

123456789101112131415161718192021222324252627282930313233
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. height: 100vh;
  5. width: 100vw;
  6. display: flex;
  7. justify-content: center;
  8. align-items: center;
  9. box-sizing: border-box;
  10. overflow: hidden;
  11. background-color: black;
  12. }
  13. #remoteCapture {
  14. max-width: 100vw;
  15. max-height: 100vh;
  16. width: auto;
  17. height: auto;
  18. display: block;
  19. margin: auto;
  20. object-fit: contain;
  21. }
  22. #menu {
  23. position: fixed;
  24. top: 0px;
  25. left: 50%;
  26. transform: translateX(-50%);
  27. padding: 10px;
  28. display: flex;
  29. gap: 10px;
  30. z-index: 1000;
  31. }