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
/** | |
* Using form :active / :focus to unveil content (only css) | |
*/ | |
/* Styling*/ | |
body{ | |
text-align:center; | |
/*background:url(http://www.wallchan.com/images/sandbox/1305675944-abstract-blurry-wallpaper-wallpaper.jpg);*/ | |
background:#f6f6f6; | |
} |
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
/** | |
* Using form :active / :focus to unveil content (only css) | |
*/ | |
/* Styling*/ | |
body{ | |
text-align:center; | |
/*background:url(http://www.wallchan.com/images/sandbox/1305675944-abstract-blurry-wallpaper-wallpaper.jpg);*/ | |
background:#f6f6f6; | |
padding:0px 10px; |
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
/** | |
* Using form :active / :focus to unveil content (only css) | |
*/ | |
/* Styling*/ | |
body{ | |
text-align:center; | |
/*background:url(http://www.wallchan.com/images/sandbox/1305675944-abstract-blurry-wallpaper-wallpaper.jpg);*/ | |
background:#f6f6f6; | |
padding:0px 10px; |
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 | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-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
Macfusion fuckup: | |
Unmount and reset connection to localserver: | |
$ umount -f localserver/ |
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
// Use of glyphicon inside buttons | |
$btn-icon-space: 5px !default; | |
.btn { | |
$icon: glyphicon; // variable for icon class name | |
.#{$icon} { | |
vertical-align: middle; |
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
[ | |
{ "keys": ["super+shift+i"], "command": "reindent", "args": {"single_line": false} } | |
] |
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
# GULP.SRC() | |
The gulp.src() function takes a glob (i.e. a string matching one or more files) or an array of globs and returns a stream that can be piped to plugins. | |
Gulp uses node-glob to get the files from the glob or globs you specify. It’s easiest to explain using examples: | |
js/app.js | |
Matches the exact file | |
js/*.js | |
Matches all files ending in .js in the js directory only | |
js/**/*.js | |
Matches all files ending in .js in the js directory and all child directories |
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
//============================================= | |
// GULP WITH SASS, AUTOPREFIX AND BROWSER-SYNC | |
//============================================= | |
// TASKS LISTING | |
// style | compiles *.scss to *.css | |
// browser-sync | injects files, and updates browsers with websockets | |
// css-build | Concatinates all css files and minifies it. |
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
success: function (response) { | |
if (response == '') { | |
alert('Sorry!'); | |
} | |
} |
OlderNewer