-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (56 loc) · 1.04 KB
/
style.css
File metadata and controls
70 lines (56 loc) · 1.04 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
body{
background: rgb(32, 32, 133);
display: flex;
flex-direction: column;
justify-content:center;
align-items:center;
min-height: 100vh;
}
.container{
display: flex;
flex-direction: column;
justify-content:space-around;
align-items:center;
width: 100%;
}
.cat{
width:500px;
height: 500px;
border-radius: 5px;
background: orange;
}
.cat > img{
width: 100%;
height: 100%;
object-fit: cover;
border-radius:5px;
}
a{
margin-top: 50px;
padding: 22px 100px;
background: linear-gradient(to left, orange , rgb(40, 110, 240));
color: white;
border-radius: 5px;
border: 1px white solid;
transition: transform 0.4s;
}
a:hover{
transform: scale(1.3);
transition: transform 0.4s;
}
a:active{
transform: scale(1);
}
@media screen and (max-width:550px){
.cat{
width:300px;
height: 300px;
border-radius: 5px;
background: orange;
}
}
@media screen and (max-width:320px){
a{
padding: 12px 50px;
}
}