-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (65 loc) · 1.06 KB
/
style.css
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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
outline: none;
}
body {
display: grid;
place-content: center;
width: 100vw;
height: 100vh;
max-width: 100%;
overflow-x: hidden;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-blend-mode: color;
}
picture {
display: flex;
flex-direction: row;
place-items: center;
gap: 105px;
width: max-content;
height: max-content;
}
.next,
.previous {
position: relative;
border: none;
background-color: #212529;
border-radius: 50%;
width: 30px;
height: 30px;
color: aliceblue;
cursor: pointer;
z-index: 1000;
}
.previous {
transform: translateX(550px);
}
.next {
transform: translateX(-550px);
}
img {
border-radius: 2px;
width: 600px;
height: max-content;
animation-name: FadeIn;
animation-duration: 1s;
animation-timing-function: ease-in-out;
transition: .5s;
}
img:hover {
transform: scale(1.1, 1.1);
}
@keyframes FadeIn {
from {
opacity: 0.5;
}
to {
opacity: 1;
}
}