File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="UTF-8 " />
5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
6
- <!-- < link
6
+ < link
7
7
rel ="stylesheet "
8
8
href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css "
9
9
integrity ="sha512-+4zCK9k+qNFUR5X+cKL9EIR+ZOhtIloNl9GIKS57V1MyNsYpYcUrUeQc9vNfzsWfV28IaLL3i96P9sdNyeRssA== "
10
10
crossorigin ="anonymous "
11
- /> -->
11
+ />
12
12
< link rel ="stylesheet " href ="style.css " />
13
13
< title > Expanding cards</ title >
14
14
</ head >
Original file line number Diff line number Diff line change 6
6
7
7
body {
8
8
font-family : "Muli" , sans-serif;
9
- display : flex ;
9
+ display : block ;
10
10
align-items : center;
11
11
justify-content : center;
12
12
height : 100vh ;
15
15
}
16
16
17
17
.container {
18
- display : flex;
19
- width : 90vw ;
18
+ display : block;
19
+ width : 90vh ;
20
+
20
21
}
21
22
22
23
.panel {
27
28
border-radius : 50px ;
28
29
color : # fff ;
29
30
cursor : pointer;
31
+ display : block;
30
32
flex : 0.5 ;
31
33
margin : 10px ;
32
34
position : relative;
45
47
46
48
.panel .active {
47
49
flex : 5 ;
50
+
48
51
}
49
52
50
53
.panel .active h3 {
You can’t perform that action at this time.
0 commit comments