Created
August 3, 2013 09:04
-
-
Save janily/6145792 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.flex-container { | |
display:-webkit-flex; | |
display:flex; | |
-webkit-flex-wrap: wrap; | |
} | |
.flex-item { | |
padding: 0 2.5%; | |
width: 28.33%; | |
-webkit-flex: auto; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>demo</title> | |
</head> | |
<body> | |
<div class="flex-container"> | |
<div class="flex-item"> | |
<h1>道德经</h1> | |
上善若水。 | |
水善利万物而不争,处众人之所恶,故几于道。 | |
</div> | |
<div class="flex-item first"> | |
<h1>道德经</h1> | |
玄之又玄,众妙之门。 | |
</div> | |
<div class="flex-item"> | |
<h1>道德经</h1> | |
居善地,心善渊,与善仁,言善信,政善治,事善能,动善时。 | |
夫唯不争,故无尤。 | |
</div> | |
<div class="flex-item"> | |
<h1>道德经</h1> | |
居善地,心善渊,与善仁,言善信,政善治,事善能,动善时。 | |
夫唯不争,故无尤。 | |
</div> | |
<div class="flex-item"> | |
<h1>道德经</h1> | |
居善地,心善渊,与善仁,言善信,政善治,事善能,动善时。 | |
夫唯不争,故无尤。 | |
</div> | |
<div class="flex-item"> | |
<h1>道德经</h1> | |
居善地,心善渊,与善仁,言善信,政善治,事善能,动善时。 | |
夫唯不争,故无尤。 | |
</div> | |
<div class="flex-item"> | |
<h1>道德经</h1> | |
居善地,心善渊,与善仁,言善信,政善治,事善能,动善时。 | |
夫唯不争,故无尤。 | |
</div> | |
<div class="flex-item"> | |
<h1>道德经</h1> | |
居善地,心善渊,与善仁,言善信,政善治,事善能,动善时。 | |
夫唯不争,故无尤。 | |
</div> | |
</div> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment