MarkTheArtist commited on
Commit
c6313bc
·
verified ·
1 Parent(s): 207810c

This utility is designed to be open to the public so that they can put in their information and it will draw plans so that they can cut them out and build it having a preview is also good. I currently can’t see the preview. - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +27 -1
index.html CHANGED
@@ -9,10 +9,18 @@
9
  <style>
10
  .preview-container {
11
  perspective: 1000px;
 
 
 
12
  }
13
  .stool-preview {
14
  transform-style: preserve-3d;
15
  transition: transform 0.5s ease;
 
 
 
 
 
16
  }
17
  .stool-step {
18
  position: absolute;
@@ -23,7 +31,10 @@
23
  justify-content: center;
24
  color: white;
25
  font-weight: bold;
26
- box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
 
 
 
27
  }
28
  .stool-leg {
29
  position: absolute;
@@ -40,6 +51,21 @@
40
  .color-option:hover {
41
  transform: scale(1.1);
42
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  input[type="range"]::-webkit-slider-thumb {
44
  -webkit-appearance: none;
45
  width: 20px;
 
9
  <style>
10
  .preview-container {
11
  perspective: 1000px;
12
+ background: linear-gradient(135deg, #f0f4ff 0%, #e6ecfa 100%);
13
+ border: 1px solid #d1d5db;
14
+ box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
15
  }
16
  .stool-preview {
17
  transform-style: preserve-3d;
18
  transition: transform 0.5s ease;
19
+ width: 100%;
20
+ height: 100%;
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: center;
24
  }
25
  .stool-step {
26
  position: absolute;
 
31
  justify-content: center;
32
  color: white;
33
  font-weight: bold;
34
+ box-shadow:
35
+ inset 0 0 10px rgba(0,0,0,0.2),
36
+ 0 5px 15px rgba(0,0,0,0.1);
37
+ transition: all 0.3s ease;
38
  }
39
  .stool-leg {
40
  position: absolute;
 
51
  .color-option:hover {
52
  transform: scale(1.1);
53
  }
54
+ .preview-container::before {
55
+ content: "";
56
+ position: absolute;
57
+ top: 0;
58
+ left: 0;
59
+ right: 0;
60
+ bottom: 0;
61
+ background-image:
62
+ linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
63
+ linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
64
+ background-size: 20px 20px;
65
+ opacity: 0.5;
66
+ pointer-events: none;
67
+ }
68
+
69
  input[type="range"]::-webkit-slider-thumb {
70
  -webkit-appearance: none;
71
  width: 20px;