-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
47 lines (40 loc) · 829 Bytes
/
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f8f9d2;
background-image: linear-gradient(315deg, #f8f9d2 0%, #e8dbfc 74%);
background-attachment: fixed;
}
html{
scroll-snap-type: y mandatory;
scroll-behavior: smooth;
scroll-margin-top: 50px;
}
section{
block-size: 100vh;
scroll-snap-align: center;
scroll-snap-stop: always;
display: grid;
place-items: center;
}
img{
border: solid 1px black;
padding: 2px;
}
@media only screen and (min-width:200px) and (max-width: 767px) {
img{
width: 350px;
height: auto;
}
}
@media only screen and (min-width:768px) and (max-width: 1024px) {
img{
width: 700px;
height: auto;
}
img:hover{
width: 725px;
cursor: pointer;
}
}