lyunm1206
commited on
Commit
·
5c435fb
1
Parent(s):
3586d5d
st
Browse files- index.html +12 -0
index.html
CHANGED
|
@@ -3,11 +3,22 @@
|
|
| 3 |
<head>
|
| 4 |
<title>3D Model Viewer</title>
|
| 5 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
.model-container {
|
| 7 |
width: 49%;
|
| 8 |
height: 400px;
|
| 9 |
display: inline-block;
|
|
|
|
|
|
|
| 10 |
text-align: center;
|
|
|
|
| 11 |
}
|
| 12 |
model-viewer {
|
| 13 |
width: 100%;
|
|
@@ -15,6 +26,7 @@
|
|
| 15 |
}
|
| 16 |
.model-title{
|
| 17 |
font-size: 1.5em;
|
|
|
|
| 18 |
}
|
| 19 |
.toggle-container {
|
| 20 |
margin-top: 10px; /* Space between each toggle group */
|
|
|
|
| 3 |
<head>
|
| 4 |
<title>3D Model Viewer</title>
|
| 5 |
<style>
|
| 6 |
+
body {
|
| 7 |
+
font-family: Arial, sans-serif;
|
| 8 |
+
background-color: #f4f4f4;
|
| 9 |
+
color: #333;
|
| 10 |
+
margin: 0;
|
| 11 |
+
padding: 20px;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
.model-container {
|
| 15 |
width: 49%;
|
| 16 |
height: 400px;
|
| 17 |
display: inline-block;
|
| 18 |
+
background-color: #fff;
|
| 19 |
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
| 20 |
text-align: center;
|
| 21 |
+
margin-bottom: 20px;
|
| 22 |
}
|
| 23 |
model-viewer {
|
| 24 |
width: 100%;
|
|
|
|
| 26 |
}
|
| 27 |
.model-title{
|
| 28 |
font-size: 1.5em;
|
| 29 |
+
color: #007bff;
|
| 30 |
}
|
| 31 |
.toggle-container {
|
| 32 |
margin-top: 10px; /* Space between each toggle group */
|