-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestinggg.html
110 lines (94 loc) · 2.99 KB
/
Testinggg.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fashion Website with 3D Model</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap" rel="stylesheet">
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
<style>
body {
margin: 0;
font-family: 'Roboto', sans-serif;
background-color: #f4f4f4;
}
.container {
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 20px;
}
.fashion-item {
display: flex;
background-color: white;
max-width: 1200px;
width: 100%;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.image-container {
flex: 1;
overflow: hidden;
}
.details-container {
flex: 1;
padding: 40px;
display: flex;
flex-direction: column;
justify-content: center;
}
.details-container h1 {
font-size: 36px;
color: #333;
margin-bottom: 20px;
}
.details-container p {
font-size: 18px;
color: #666;
line-height: 1.5;
margin-bottom: 30px;
}
.btn-purchase {
padding: 15px 30px;
background-color: #ff6347;
color: white;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn-purchase:hover {
background-color: #ff2e1a;
}
/* Responsive Design */
@media (max-width: 768px) {
.fashion-item {
flex-direction: column;
}
.image-container {
height: 400px;
}
}
</style>
</head>
<body>
<div class="container">
<div class="fashion-item">
<!-- 3D Model Viewer on the Left -->
<div class="image-container" style="border: #333 2px solid;">
<model-viewer src="threeD/Tintanic.glb" alt="3D Character" ar ar-modes="webxr scene-viewer quick-look"
environment-image="neutral" auto-rotate camera-controls style="width: 100%; height: 100%;">
</model-viewer>
</div>
<!-- Text and Button on the Right -->
<div class="details-container">
<h1>3D Fashion Model</h1>
<p>Explore our exclusive 3D-rendered fashion model. See every detail with 360° rotation, zoom, and even
augmented reality.</p>
<button class="btn-purchase">Purchase Now</button>
</div>
</div>
</div>
</body>
</html>