-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
88 lines (82 loc) · 1.31 KB
/
main.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
80
81
82
83
84
85
86
87
88
.container{
display:flex;
margin:10%;
}
.text{
color:rgb(0, 0, 0);
font-size:2rem;
margin:30px;
padding-top:20%;
}
.main{
width: 50vw;
/* height: 10px; */
}
.container2{
display:flex;
margin:1%;
border: 1px solid black;
}
.trending{
font-size:2rem;
color:rgb(190, 10, 40);
text-align: center;
font-weight: bolder;
}
/* slider */
/* slider */
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
.slider{
max-width: 1100px;
display: flex;
}
.slider .card{
flex: 1;
margin: 0 10px;
background: #fff;
}
.slider .card .img{
height: 200px;
width: 100%;
}
.slider .card .img img{
height: 100%;
width: 100%;
object-fit: cover;
}
.slider .card .content{
padding: 10px 20px;
}
.card .content .title{
font-size: 25px;
font-weight: 600;
}
.card .content .sub-title{
font-size: 20px;
font-weight: 600;
color: #666af9;
line-height: 20px;
}
.card .content p{
text-align: justify;
margin: 10px 0;
}
.card .content .btn{
display: block;
text-align: left;
margin: 10px 0;
}
.card .content .btn button{
background: #9c6dff;
color: #fff;
border: none;
outline: none;
font-size: 17px;
padding: 5px 8px;
border-radius: 5px;
cursor: pointer;
transition: 0.2s;
}
.card .content .btn button:hover{
transform: scale(0.9);
}