-
Notifications
You must be signed in to change notification settings - Fork 0
/
newsItem.css
58 lines (49 loc) · 1.09 KB
/
newsItem.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
.news-app{
/* grid-template-columns: repeat(3,1fr); */
display: flex;
flex-direction: row;
/* position: relative; */
/* grid-template-columns: auto; */
justify-content: center;
background-color: beige;
}
.news-item{
height: 600px;
border-radius: 13px;
margin-top: 18px;
width: 300px;
padding: 20px;
border: 1px solid black;
margin-bottom: 20px;
background-color: mistyrose;
flex-direction:row;
}
.news-item:hover{
box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.1);
cursor: pointer;
}
.news-img{
width: 100%;
height: 200px;
}
.newsmainbox{
height: 100%;
width: 100%;
background-color: rgb(239, 245, 245);
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.bigcontent{
display: flex;
justify-content: space-around;
width: 30%;
/* position: relative; */
/* background-color: blue; */
}
@media screen and (max-width:1024px) {
.navigationlist {
flex-direction: column;
}
}