Skip to content

Commit 85d8650

Browse files
committed
To reproduce the bug in columns.html.
1 parent 3ff1a8e commit 85d8650

3 files changed

Lines changed: 79 additions & 0 deletions

File tree

examples/columns.html

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>ALMCSS3 - Columns</title>
6+
<link rel="stylesheet" href="css/columns-base.css" type="text/css" />
7+
<style>
8+
9+
body {
10+
grid: "aaa"
11+
"bcd";
12+
}
13+
14+
h1 { flow: a; }
15+
16+
#one { flow: b; }
17+
#two { flow: c; }
18+
#three { flow: d; }
19+
20+
21+
#one, #two, #three, h1 {
22+
padding: 0.1em;
23+
}
24+
25+
26+
</style>
27+
<script type="text/javascript" src="../js/almcss3/almcss.js"></script>
28+
</head>
29+
<body>
30+
<h1>Columns</h1>
31+
<div id='one'>
32+
<h2>One</h2>
33+
</div>
34+
<div id='two'>
35+
<h2>Two</h2>
36+
</div>
37+
<div id='three'>
38+
<h2>Three</h2>
39+
</div>
40+
</body>
41+
</html>

examples/css/columns-base.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
body {
2+
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
3+
font-size: 0.9em;
4+
line-height: 1.4;
5+
background: rgb(251, 251, 251);
6+
}
7+
8+
/* Colors */
9+
10+
h1 {
11+
background: rgb(81, 81, 81);
12+
color: white;
13+
}
14+
15+
#one {
16+
background:rgb(0, 180, 255);
17+
color: white;
18+
}
19+
20+
#two {
21+
background: rgb(255, 255, 255);
22+
color: rgb(81, 81, 81);
23+
}
24+
25+
#three {
26+
background: rgb(238, 238, 238);
27+
color: #101101;
28+
}
29+
30+
/* Typography */
31+
32+
h1 {
33+
font-size: 3em;
34+
}
35+
36+
h2 {
37+
font-size: 2.2em;
38+
}

examples/index.html

Whitespace-only changes.

0 commit comments

Comments
 (0)