-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathstyle.css
50 lines (45 loc) · 1.01 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
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
#heading {
color: red;
text-align: center;
font-family: "Montserrat", monospace;
color:rgb(228, 54, 54);
}
.img-container{
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
#container {
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
width: 100%;
}
.card {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
border-radius: 10px;
margin: 2rem;
width: auto;
}
.card:hover .inner {
background: linear-gradient(to right, #007cf0 0%, #00DFD8 100%);
}
.card .inner {
background-color: #333;
width: 100%;
padding: 1rem;
color: #fff;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-family: "Montserrat", monospace;
transition: background 1.5s linear;
}