-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolumncards.php
74 lines (65 loc) · 1.44 KB
/
columncards.php
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
/* Float four columns side by side */
.column {
float: left;
width: 50%;
padding: 0 10px;
}
/* Remove extra left and right margins, due to padding */
.row {margin: 0 -5px;}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Responsive columns */
@media screen and (max-width: 600px) {
.column {
width: 100%;
display: block;
margin-bottom: 20px;
}
}
/* Style the counter cards */
.column-card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
padding: 16px;
text-align: center;
background-color: darkorange;
color: white;
}
</style>
</head>
<body>
<br/>
<br/>
<p>Fun at home, fun everywhere at no cost!</p>
<div class="row">
<div class="column">
<div class="column-card">
<img src="images/bluehome.png" alt="game" width="80px" height="80px">
<h3>Stuck at Home?</h3>
<p>Beat the boredom by generating random fun activities everyone would surely love!</p>
</div>
</div>
<div class="column">
<div class="column-card">
<img src="images/puzzle.png" alt="game" width="80px" height="80px">
<h3>More Categories</h3>
<p>With lots of categories to choose from, you will never be bored again. Easy as 1,2,3.</p>
</div>
</div>
</div>
</body>
</html>