⌘T | go to file |
⌘⌃P | go to project |
⌘R | go to methods |
⌃G | go to line |
⌘KB | toggle side bar |
⌘⇧P | command prompt |
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
/** | |
* CSS3 borders and box-shadow experiment - passport | |
*/ | |
body { | |
/*background: #f06; | |
background: linear-gradient(45deg, #f06, yellow);*/ | |
min-height: 100%; | |
} | |
button {margin:40px;} |
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
/** | |
* CSS3 borders and box-shadow experiment - passport left & right | |
*/ | |
body { | |
/*background: #f06; | |
background: linear-gradient(45deg, #f06, yellow);*/ | |
min-height: 100%; | |
min-width:1100px; | |
} | |
#container { |
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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
/** | |
* CSS3 borders and box-shadow experiment - passport left & right | |
*/ | |
body { | |
/*background: #f06; | |
background: linear-gradient(45deg, #f06, yellow);*/ | |
min-height: 100%; | |
min-width:1100px; | |
} | |
#container { |
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
/** | |
* Testing psuedo elements | |
*/ | |
section { | |
width: 940px; | |
margin:0px 100px; | |
position:relative; | |
} |
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
//add to functions.php | |
//remove inline width and height added to images | |
add_filter( 'post_thumbnail_html', 'remove_thumbnail_dimensions', 10 ); | |
add_filter( 'image_send_to_editor', 'remove_thumbnail_dimensions', 10 ); | |
// Removes attached image sizes as well | |
add_filter( 'the_content', 'remove_thumbnail_dimensions', 10 ); | |
function remove_thumbnail_dimensions( $html ) { | |
$html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html ); | |
return $html; | |
} |
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
/** | |
* Testing psuedo elements | |
*/ | |
section { | |
width: 940px; | |
margin:0px 100px; | |
position:relative; | |
} |
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
/** | |
* Text-shadow for text outlines | |
*/ | |
body{ | |
background: #392d0b; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
} | |
#myelement { |
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
/** | |
* Tucked corners with one element | |
From LeaVerou - love this!! | |
*/ | |
html { | |
background: url('http://www.red-team-design.com/wp-content/uploads/2012/10/wood.png') | |
} | |
body { |