defaultViewer.html 543 B

12345678910111213141516171819202122232425262728
  1. <style>
  2. .babylonjs-canvas {
  3. flex: 1;
  4. width: 100%;
  5. height: 100%;
  6. touch-action: none;
  7. }
  8. nav-bar {
  9. position: absolute;
  10. height: 80px;
  11. width: 100%;
  12. bottom: 0;
  13. opacity: 0.3;
  14. background-color: black;
  15. color: white;
  16. transition: 1s;
  17. align-items: center;
  18. justify-content: center;
  19. display: flex;
  20. }
  21. </style>
  22. <canvas class="babylonjs-canvas" id="{{canvasId}}">
  23. </canvas>
  24. <nav-bar></nav-bar>