-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.css
More file actions
77 lines (70 loc) · 1.51 KB
/
app.css
File metadata and controls
77 lines (70 loc) · 1.51 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
form {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 10px;
}
body {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.image-container {
display: flex;
margin-top: 10px;
height: 700px;
width: 1015px;
background-color: transparent;
}
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: transparent;
position: absolute;
width: inherit;
padding: 0px;
margin-top: 360px;
z-index: 100;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
border-radius: 50%;
margin-top: -10px;
background-color: white;
cursor: grab;
height: 1.1rem;
width: 1.1rem;
}
input[type="range"]::-webkit-slider-thumb:active {
background-color: rgb(231, 227, 227);
cursor: grabbing;
}
.image-before {
position: absolute;
padding: 0;
margin-left: 8.5px;
background-image: url("https://cdn.pixabay.com/photo/2023/08/16/23/47/annas-hummingbird-8195150_1280.jpg");
background-repeat: no-repeat;
background-size: cover;
box-shadow: 5px 0px 9px 1px #fffefe11;
height: inherit;
width: 1000px;
z-index: 10;
border-right: solid 0.5px rgba(255, 255, 255, 0.425);
}
.image-after {
position: absolute;
margin-left: 8.5px;
background-image: url("https://cdn.pixabay.com/photo/2016/11/23/18/27/hummingbird-1854225_640.jpg");
background-repeat: no-repeat;
background-size: cover;
height: inherit;
width: 1000px;
/* z-index: -10; */
}