-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
70 lines (67 loc) · 1.48 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
*{
margin: 0;
padding: 0;
}
.main{
color: black;
text-align: center;
font-size: 30px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: rgb(20, 15, 15);/*linear-gradient(to bottom,#240747 , transparent);*/
text-shadow: 0 0 20px #e84a5f, 0 0 20px #e84a5f;
border-bottom: 2px solid rgb(48, 34, 8);
}
.section{
width: auto;
height: 599px;
color: white;
background-image: url("cat.png");
background-size: cover;
display: flex;
justify-content: space-evenly;
align-items: center;
transition: all 1s ease;
}
.sec1{
width: 200px;
height: 300px;
background-image: url("catpic1\ \(3\).jpg");
background-size: cover;
border: 2px solid black;
text-align: bottom;
}
.sec2{
width: 200px;
height: 300px;
background-image: url("catpic1\ \(4\).jpg");
background-size: cover;
border: 2px solid black;
}
.sec3{
width: 200px;
height: 300px;
background-image: url("catpic1\ \(5\).jpg");
background-size: cover;
border: 2px solid black;
}
.sec4{
width: 200px;
height: 300px;
background-image: url("catpic1\ \(2\).jpg");
background-size: cover;
border: 2px solid black;
}
.section div:hover {
transform: scale(1.1);
}
@keyframes slideIn {
from {
transform: translateX(-100%);
}
to {
transform: translateX(0);
}
}
.section div {
animation: 2s forwards;
}