-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (77 loc) · 1.53 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
74
75
76
77
78
79
.container{
display:flex;
gap:10px
}
.card{
width: 300px;
height: 350px;
background-color:rgba(128, 128, 128, 0.817);
border-radius: 10px;
transition: 300ms ease-in-out;
box-shadow: 0 5px 10px 0 #8f1212;
perspective: 1000px;
transform-style: preserve-3d;
transition: all 0.6s ease;
}
.card + .card{
margin-left:-10px;
}
.card:hover{
transform: rotate(180deg);
}
.card:hover{
z-index: 1;
}
.card{
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.container{
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
h1{
display: flex;
justify-content: center;
text-decoration: underline;
background-color: rgba(0, 0, 0, 0.979);
color: aliceblue;
transition: 2s ease-in 1s ease-out ;
}
h1:hover{
background-color: rgba(255, 217, 0, 0.694);
width: 1200px;
display: flex;
justify-content: center;
}
.container{
background-image: url(.//img.avif);
object-fit: cover;
width: 100vw;
height: 101vh;
}
.myImage{
height: 350px;
width: 300px;
}
@media (min-width: 1200px) {
.container {
padding: 50px;
}
}
@media (min-width: 992px) and (max-width:1199px) {
.container {
padding: 40px;
}
}
@media (min-width: 768px) and (max-width:991px){
.container {
padding: 30px;
}
}
@media (max-width: 767px) {
.container {
padding: 23px;
}
}