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