-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcolumn.html
More file actions
34 lines (34 loc) · 1.21 KB
/
Copy pathcolumn.html
File metadata and controls
34 lines (34 loc) · 1.21 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="column.css">
</head>
<body>
<div>
<h1>Responsive Four Column Layout</h1>
<p>Resize the browser window to see the responsive effect. On screens that are 992px wide or less, the columns will resize from four columns to two columns. On screens that are 600px wide or less, the columns will stack on top of each other instead of next to eachother.</p>
</div>
<div>
<div class="column" style="background-color: yellow;">
<h4>Column 1</h4>
<p>some text.....</p>
</div>
<div class="column" style="background-color: blue;">
<h4>Column 2</h4>
<p>some text.....</p>
</div>
<div class="column" style="background-color: red;">
<h4>Column 3</h4>
<p>some text.....</p>
</div>
<div class="column" style="background-color: green;">
<h4>Column 4</h4>
<p>some text.....</p>
</div>
</div>
</body>
</html>