This file contains 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
/* Does anyone transition Flexbox order yet? | |
http://dev.w3.org/csswg/css-flexbox/#order-property */ | |
/* ✘ Chrome 28 | |
✘ Safari 6.0.3 | |
✘ Firefox 20 | |
✓ Aurora 22 | |
? IE 10 | |
*/ |
This file contains 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
/** | |
* Responsive table with th full-width but 2x td still tabular | |
*/ | |
table { | |
width: 100%; | |
display: table;} | |
th, td {background: #eee;} | |
tr, th { | |
display: block; |
This file contains 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
ul { | |
display: flex; | |
width: 100%; | |
overflow: hidden; | |
border: 1px solid #eee; | |
white-space: nowrap; | |
overflow: hidden; |
This file contains 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
/** | |
* Flexbox and ellipsis | |
*/ | |
ul { | |
display: flex | |
list-style: none; | |
white-space: nowrap; /* Stops line wrapping */ | |
} | |
li { | |
overflow: hidden; /* Prevents overflow from expanding container */ |
This file contains 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
/** | |
* @font-face and serif for Japanese | |
*/ | |
body {font-face: serif;} | |
.test {font-face: "test", serif;} |
This file contains 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
# Site structure: | |
/ - homepage (normal) | |
/2008 - 2008 articles (normal) | |
/2008/article1 [was draft, now published] | |
/2009 - 2009 articles (normal) | |
/2009/article1 [was draft, now published] | |
/2009/article2 | |
/2009/article3 | |
… |
This file contains 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
/* | |
Small flower patterns, inspired by http://leaverou.me/css3patterns | |
(see http://jsfiddle.net/boblet/hdagX/ for prefixed ver | |
Colors from http://nipponcolors.com/ Kurotobi #554236, Suoh #8e354a, Kohbai #e16b8c | |
*/ | |
background: | |
/* circle pattern */ | |
radial-gradient(#e16b8c 4%, transparent 4%) 0 0, | |
radial-gradient(#8e354a 7%, transparent 7%) -15px 0, | |
radial-gradient(#8e354a 7%, transparent 7%) 15px 0, |
This file contains 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
/* Example of aligning browser-prefixed properties to the value */ | |
.star { | |
display: inline-block; | |
-webkit-transform: rotate(18deg); | |
-moz-transform: rotate(18deg); | |
-ms-transform: rotate(18deg); | |
-o-transform: rotate(18deg); | |
transform: rotate(18deg); | |
} |
This file contains 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> | |
<html > | |
<head> | |
<title>Twitter</title> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta charset="utf-8" /> | |
<script type="text/javascript" charset="utf-8"> |
This file contains 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
/** | |
* Testing testing | |
*/ | |
OlderNewer