-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtech.css
More file actions
100 lines (81 loc) · 1.31 KB
/
Copy pathtech.css
File metadata and controls
100 lines (81 loc) · 1.31 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
body {
font-family: Montserrat,
sans-serif;
background-color: #F0F0F0F0;
}
.main {
width: 600px;
height: 650px;
margin: auto;
background-color: #FFFFFF;
box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1);
padding: 105px 90px;
}
.head1 {
margin-left: 110px;
;
}
.slider {
width: 570px;
height: 300px;
overflow: hidden;
border: 5px solid #F0F0F0F0;
margin: 50px 0;
}
.middle {
position: absolute;
transform: (-50%, -50%);
}
.navigation {
position: absolute;
bottom: 16px;
left: 50%;
transform: translateX(-50%);
display: flex;
}
.bar {
height: 8px;
width: 20px;
margin: 6px;
cursor: pointer;
background-color: darkgoldenrod;
opacity: .5;
border-radius: 10px;
transition: all .4s ease;
}
.bar:hover {
opacity: 0.8;
transform: scale(1.2);
}
input[name="r"] {
position: absolute;
visibility: hidden;
}
.slides {
width: 400%;
height: 100%;
display: flex;
}
.slide {
width: 25%;
transition: all .6s ease;
}
.slide img {
width: 100%;
height: 100%;
}
#r1:checked ~ .s1 {
margin-left: 0;
}
#r2:checked ~ .s1 {
margin-left: -25%;
}
#r3:checked ~ .s1 {
margin-left: -50%;
}
#r4:checked ~ .s1 {
margin-left: -75%;
}
.text {
margin-top: 450px
}