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
body, button, input, select, textarea { margin: 0; } |
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
// Create empty array to house data | |
var singleDimensionArray = []; | |
// for 1 < 25, 25 is equal to the length of the generated array | |
for (var i = 0; i < 25; i ++) { | |
var newNumber = Math.round(Math.random() * 30); // Create a random number between 0 - 30. | |
singleDimensionArray.push(newNumber); // Adds random number to the array | |
} |
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
a | |
abbr | |
address | |
area | |
article | |
aside | |
audio | |
b | |
bdi | |
bdo |
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
/* | |
Drop this in your css file to get insight into how elements are rendering. | |
Useful for debugging layout issues. | |
*/ | |
a { outline: 1px solid crimson;} | |
abbr { outline: 1px solid aqua;} | |
address { outline: 1px solid aquamarine;} | |
article { outline: 1px solid blueviolet;} | |
blockquote { outline: 1px solid cadetblue;} |
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
$layout-debug: true; // Put this in your variables file...if you have one. | |
@if $layout-debug == true { | |
a { outline: 1px solid crimson;} | |
abbr { outline: 1px solid aqua;} | |
address { outline: 1px solid aquamarine;} | |
article { outline: 1px solid blueviolet;} | |
blockquote { outline: 1px solid cadetblue;} | |
caption { outline: 1px solid cornflowerblue;} |
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
# where sass is the directory you want to search and 'float: left' is the declaration you want to search for. | |
find sass -print0 | xargs -0 grep -ir 'float: left' ./ | wc -l |
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
// Single color variable named after content | |
$red: #ff0000; | |
// Multiple variables mapped to this variable. | |
$font-color: $red; | |
$secondary-bg: $red; |
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
I$^[/\ ^Mi: #^[lx/\ ^Mxnxnr;lD^[j0 | |
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
for file in *; do csslint $file > lint_$file; |
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
document.getElementsByTagName("*").length |