-
Notifications
You must be signed in to change notification settings - Fork 0
/
assignment3.css
125 lines (88 loc) · 1.86 KB
/
assignment3.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
body{
/* height: 100vh; */
display: grid;
place-items: center;
background-color: antiquewhite;
}
.container{
width: 100%;
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(3, minmax(400px, 1fr));
grid-template-rows: repeat(2, 300px);
justify-content: space-around;
/* margin: 10px; */
/* border: 2px solid; */
}
.item{
border: 1px solid;
padding: 10px;
margin-left: 5px;
display: grid;
grid-template-columns: repeat(2, minmax(150px, 1fr));
grid-template-rows: repeat(2,130px) 1fr;
background-color: #FFFFF0;
border-radius: 20px;
border-style: groove;
}
.item:hover{
box-shadow: 5px 5px 10px 1px rgb(172, 169, 169);
}
.image-1 img{
border-radius: 100%;
border: 2px solid #40B5AD;
}
span{
font-size: 13px;
font-weight: 600;
color: #40B5AD;
}
.student{
display: grid;
justify-content: center;
align-items: center;
grid-template-rows: repeat(3,30px);
margin-top: 15px;
}
.student p{
font-size: 13px;
}
.college{
display: grid;
/* justify-content: center; */
align-items: center;
margin-top: 35px;
grid-template-rows: repeat(2,30px);
}
.college p{
font-size: 13px;
}
.nsit{
display: grid;
justify-content: center;
align-items: center;
}
.nsit img{
border: 2px solid #40B5AD;
border-radius: 10px;
width: 70px;
height: 70px;
}
.show-more{
display: grid;
grid-row: 3/4;
grid-column: 1/3;
justify-content: center;
}
@media screen and (max-width:1180px){
.container{
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(3,300px);
}
}
@media screen and (max-width:500px){
.container{
grid-template-columns: repeat(1, 1fr);
grid-template-rows: repeat(6,1fr);
}
}