Archived
changes in AR and instruction position on page.
This commit is contained in:
1 parent
3927de9cef
commit
5ae09154d4
1 file changed
+5
-11
+5
-11
@@ -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">
|
||||||
|
|
||||||
<div class="controls-hint">
|
|
||||||
🖱️ Left Click: Rotate | 🖱️ Right Click: Pan | ⚙️ Scroll: Zoom
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</model-viewer>
|
</model-viewer>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="controls-hint">
|
||||||
|
🖱️ Left Click: Rotate | 🖱️ Right Click: Pan | ⚙️ Scroll: Zoom
|
||||||
|
</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>
|
||||||
|
|||||||
Reference in new issue
Block a user