Skip to content

Commit 7516240

Browse files
2300090111
codejam task completed
1 parent 1fe7782 commit 7516240

File tree

3 files changed

+24
-35
lines changed

3 files changed

+24
-35
lines changed
58.6 KB
Loading

index.css

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,44 @@
1-
* {
1+
*{
22
padding: 0;
33
margin: 0;
44
box-sizing: border-box;
55
}
6-
7-
.container {
6+
.container{
87
height: 100vh;
98
width: 100%;
109
display: flex;
11-
align-items: center;
10+
align-items:center;
1211
justify-content: center;
13-
}
1412

15-
.card {
13+
}
14+
.card{
1615
width: 20%;
1716
display: flex;
1817
flex-direction: column;
1918
}
20-
21-
.card-one {
19+
.card-one{
2220
width: 100%;
21+
2322
}
24-
.card-one img {
23+
.card-one img{
2524
width: 100%;
2625
}
27-
28-
.card-two {
26+
.card-two{
2927
width: 100%;
30-
padding: 1rem;
31-
32-
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
28+
padding:1rem;
29+
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
3330
}
34-
35-
.card-two h1 {
36-
font-size: 1.5rem;
31+
.card-two h1{
32+
font: size 1.5rem ;
3733
}
38-
.card-two h2 {
34+
.card-two h2{
3935
font-size: 1.2rem;
4036
margin-bottom: 1rem;
4137
color: grey;
4238
}
43-
44-
.card-two a {
39+
.card-two a{
4540
text-decoration: none;
4641
background-color: black;
4742
color: white;
4843
padding: 5px 10px;
49-
}
50-
44+
}

index.html

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,22 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>CodeJam - ZeroOne</title>
6+
<title>Codejam-ZeroOne</title>
77
<link rel="stylesheet" href="index.css">
88
</head>
99
<body>
10-
10+
<div class="container">
11+
<div class="card">
1112

12-
<div class="container">
13-
<div class="card">
14-
15-
<div class="card-one">
16-
<img src="ZOCC_logo.png" alt="">
13+
<div class="card-one">
14+
<img src="ZOCC_logo.png" alt="">
1715
</div>
1816
<div class="card-two">
19-
<h1>ZeroOne Code Club</h1>
20-
<h2>Student Activity Center</h2>
21-
22-
<a herf="#">Join</a>
17+
<h1>ZeroOne Code Club</h1>
18+
<h2>Student Activity Center</h2>
19+
<a href="#">Join</a>
2320
</div>
2421
</div>
2522
</div>
26-
</div>
27-
</container>
2823
</body>
2924
</html>

0 commit comments

Comments
 (0)