defaultViewer.html 514 B

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