Skip to content

Instantly share code, notes, and snippets.

View WebPlatformDocs's full-sized avatar

WebPlatform Docs WebPlatformDocs

View GitHub Profile
<form>
<fieldset>
<legend>Check boxes</legend>
<input type="checkbox" name="check1" id="check1" value="Option 1">
<label for="check1">Option 1</label><br>
<input type="checkbox" name="check2" id="check2" value="Option 2" checked>
<label for="check2">Option 2</label><br>
<input type="checkbox" name="check3" id="check3" value="Option 3">
<label for="check3">Option 3</label><br>
<input type="checkbox" name="check4" id="check4" value="Option 4" checked> <label for="check4">Option 4</label>
<form>
<fieldset>
<legend>Check boxes</legend>
<input type="checkbox" name="check1" id="check1" value="Option 1">
<label for="check1">Option 1</label><br>
<input type="checkbox" name="check2" id="check2" value="Option 2" checked>
<label for="check2">Option 2</label><br>
<input type="checkbox" name="check3" id="check3" value="Option 3">
<label for="check3">Option 3</label><br>
<input type="checkbox" name="check4" id="check4" value="Option 4" checked> <label for="check4">Option 4</label>
.list {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-flow: column wrap;
-moz-flex-flow: row wrap;
-ms-flex-flow: row wrap;
.list {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-flow: row wrap;
-moz-flex-flow: row wrap;
-ms-flex-flow: row wrap;
.list {
display: flex;
flex-flow: row wrap;
}
.list div {
flex: 1;
background: #CCC;
margin: 5px;
.list {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-flow: row wrap;
-moz-flex-flow: row wrap;
-ms-flex-flow: row wrap;
/*
* order
* CSS3 flexbox order property
* http://docs.webplatform.org/wiki/css/properties/flex-order
*/
.list {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
.list {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-wrap: nowrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
.list {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
.list {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;