-
Notifications
You must be signed in to change notification settings - Fork 708
/
Copy pathline-grid-intro.html
73 lines (65 loc) · 1.73 KB
/
line-grid-intro.html
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
<!DOCTYPE HTML>
<html>
<head>
<title>Baseline Grid intro examples</title>
<style>
* { margin: 0px;}
.container {
margin: 15px;
overflow: hidden;
background: repeating-linear-gradient(to bottom, white 0px, white 29px, black 30px);
background-size: 30px 30px; /* fixes too-light lines for some reason */
}
.single {
padding-top: 40px;
width: 275px;
height: 250px;
}
.multi {
padding-top: 40px;
width: 550px;
height: 225px;
-moz-columns: 2;
-moz-column-gap: 40px;
columns: 2;
}
h2 {
font-family: sans-serif;
font-size: 30px;
margin-top: 14px;
margin-bottom: 15px;
}
p {
font-size: 20px;
line-height: 30px;
text-align: justify;
}
.box {
width 250px;
height: 60px;
background-color: rgba(57, 139, 183, 1);
border: 4px solid rgba(67, 91, 141, 1);
border-radius: 2px;
margin: 8px;
margin-bottom: 14px;
}
.single-line {
margin-top: 15px;
}
</style>
</head>
<body>
<div class="container single">
<p>lazy dog. A quick brown fox jumps over the lazy dog.</p>
<h2>Wrapping Large Text</h2>
<p>A quick brown fox jumps over the lazy dog. A quick brown fox</p>
</div>
<div class="container multi">
<p>A quick brown fox jumps over the lazy dog. A quick brown fox jumps over the lazy dog.</p>
<div class="box"></div>
<p>A quick brown fox jumps over the lazy dog. A quick brown fox jumps over the lazy dog.</p>
<h2 class="single-line">Heading</h2>
<p>A quick brown fox jumps over the lazy dog. A quick brown fox jumps over the lazy dog.</p>
</div>
</body>
</html>