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
/** | |
* Test for text-alignment in input[type="number"] | |
*/ | |
input { | |
} |
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
// Some configuration | |
var config = { | |
moduleName: { | |
moduleContextSelector: '.select-an-awesome > .module', | |
moduleTitle: 'Some Arbitrary Title', | |
moduleTimeoutSpeed: 3000 | |
} | |
}; |
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 for floats | |
*/ | |
.parent { | |
width: 400px; | |
overflow: hidden; | |
} | |
.floated { | |
float: left; |
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 for floats | |
*/ | |
.parent { | |
width: 400px | |
} | |
.floated { | |
float: left; | |
width: 150px; |
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 for floats | |
*/ | |
.parent { | |
width: 400px | |
} | |
.floated { | |
float: left; | |
width: 150px; |
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
/** | |
* Vertical centering | |
*/ | |
html, | |
body, | |
.a { | |
height: 200px; | |
} |
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
/** | |
* Sticking problems | |
*/ | |
.fixed { | |
position: fixed; | |
top: 0; | |
left: 0; | |
right: 0; | |
z-index: 40; /* Needed because of other content */ |
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
/** | |
* Vertical centering | |
*/ | |
html, | |
body, | |
.a { | |
height: 100%; | |
} |
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
$main-font-size: 16px; | |
@mixin x-rem($property, $values) { | |
// Empty list for all values in px | |
$px-values: (); | |
$rem-values: (); | |
// Iterate over entries | |
@each $value in $values { |
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
/** | |
* hr's box-model behavior | |
*/ | |
hr { | |
display: block; | |
height: 1px; | |
border: 0; | |
border-top: 1px solid #ccc; | |
border-bottom: 1px solid #ccc; | |
margin: 1em 0; |