changes in AR and instruction position on page.

This commit is contained in:
MartinSereyC committed 2026-02-11 17:07:35 -03:00
1 parent 3927de9cef
commit 5ae09154d4
1 file changed
+3 -9
+3 -9
View File
@@ -35,17 +35,12 @@
/* Instructions Overlay */ /* Instructions Overlay */
.controls-hint { .controls-hint {
position: absolute; margin-top: 20px;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.6);
color: white; color: white;
padding: 10px 20px; padding: 10px 20px;
border-radius: 50px; border-radius: 50px;
font-size: 14px; font-size: 14px;
pointer-events: none; /* Allows clicks to pass through to the model */
transition: opacity 0.5s;
} }
</style> </style>
</head> </head>
@@ -65,14 +60,13 @@
auto-rotate auto-rotate
touch-action="pan-y" touch-action="pan-y"
alt="A 3D model from Autodesk Inventor"> alt="A 3D model from Autodesk Inventor">
</model-viewer>
</div>
<div class="controls-hint"> <div class="controls-hint">
🖱️ Left Click: Rotate | 🖱️ Right Click: Pan | ⚙️ Scroll: Zoom 🖱️ Left Click: Rotate | 🖱️ Right Click: Pan | ⚙️ Scroll: Zoom
</div> </div>
</model-viewer>
</div>
<footer style="margin-top: 20px; color: #888;"> <footer style="margin-top: 20px; color: #888;">
<p>Created with Autodesk Inventor & GitHub Pages</p> <p>Created with Autodesk Inventor & GitHub Pages</p>
</footer> </footer>