Update style.css
Browse files
style.css
CHANGED
|
@@ -1,28 +1,50 @@
|
|
| 1 |
-
body {
|
| 2 |
-
|
| 3 |
-
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
html, body {
|
| 2 |
+
margin: 20px;
|
| 3 |
+
font-family:Arial, Helvetica, sans-serif;
|
| 4 |
}
|
| 5 |
|
| 6 |
+
.container {
|
| 7 |
+
margin: 0 auto;
|
| 8 |
+
width: 400px;
|
| 9 |
+
display: flex;
|
| 10 |
+
flex-direction: column;
|
| 11 |
+
align-items: center;
|
| 12 |
}
|
| 13 |
|
| 14 |
+
label {
|
| 15 |
+
border: 2px solid black;
|
| 16 |
+
padding: 8px 16px;
|
| 17 |
+
cursor: pointer;
|
| 18 |
+
display: flex;
|
| 19 |
+
align-items: center;
|
| 20 |
}
|
| 21 |
|
| 22 |
+
input[type="file"] {
|
| 23 |
+
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
}
|
| 25 |
|
| 26 |
+
.upload-icon {
|
| 27 |
+
width: 30px;
|
| 28 |
+
margin-right: 10px;
|
| 29 |
}
|
| 30 |
+
|
| 31 |
+
#image-container {
|
| 32 |
+
margin-top: 20px;
|
| 33 |
+
position: relative;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
#image-container img {
|
| 37 |
+
width: 400px;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.bounding-box {
|
| 41 |
+
position: absolute;
|
| 42 |
+
box-sizing: border-box;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.bounding-box-label {
|
| 46 |
+
position: absolute;
|
| 47 |
+
color: white;
|
| 48 |
+
font-size: 12px;
|
| 49 |
+
}
|
| 50 |
+
|