-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharticle.css
52 lines (47 loc) · 823 Bytes
/
article.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
/* .scroll main{
height: 100px;
padding: 100px;
background: red;
} */
.sicky-bar{
width: 100%;
z-index: 2;
}
section{
position: relative;
left: 20vh;
width: auto;
}
main{
display: flex;
overflow-x: scroll;
overflow-y: hidden;
width: 30%;
height: auto;
padding-bottom: 10px;
position: relative;
left: 20vh;
border-radius: 10px;
}
.card{
display: flex;
flex-direction: column;
align-items: center;
background: grey;
height: 300px;
min-width: 250px;
margin: 5px;
padding-bottom: 10px;
border-radius: 5px;
}
.card img{
width: 100%;
height: 40%;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.card h3 , .card p{
padding-top: 20px;
padding-left: 10px;
padding-right: 10px;
}