- Border Radius
- SVG
- Calc()
- All CSS3 Attributes
- Box Shadows
- Basic Viewport units
- No Javascript hacks
- jQuery 2
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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"detect_indentation": true, | |
"ensure_newline_at_eof_on_save": true, | |
"fade_fold_buttons": true, | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", |
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
# Ask for the administrator password upfront | |
sudo -v | |
# mkdir -p ~/Sites/Work/Clients | |
# mkdir -p ~/Sites/Work/Internal | |
# mkdir -p ~/Sites/Personal | |
# mkdir -p ~/Downloads/Torrents | |
mkdir -p /Volumes/Sites/Work/Clients | |
mkdir -p /Volumes/Sites/Work/Internal |
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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
// Currently an idea, yet to test this snippet. | |
@mixin logo( $logo-name) { | |
$image: "#{$logo-name}.png"; | |
.logo { | |
background-repeat:no-repeat; | |
display:block; | |
overflow:hidden; |
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
#environment = :production | |
environment = :development | |
# Set this to the root of your project when deployed. | |
# Work from file directory "code" for your statics, when the css is ready to go into the wordpress theme switch it over to development | |
if environment == :production | |
output_style = :expanded | |
http_path = "/" | |
css_dir = "deploy" |
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
//Please note this does not currently work. | |
@each $section in council, household, business { | |
.#{$section} h2 { | |
//Step 1: I want this below varible to dynamically change to $council-light, $household-light, $business-light | |
color: $#{$section}-light; //this seems to be the problem of trying to append '-light' onto a varible name | |
//please note council-light, household-light, business-light are all predefined varibles with hex colours assigned. |
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
/* ========================================================================== | |
Media Queries: | |
How to get inline media querey | |
Order from small to big. | |
extra-small, small, medium, large, larger, huge, massive. | |
Should be noted when using min-width your styles outside any mediaqueries are the smallest and global. | |
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
* { | |
background: pink; | |
font-family: cursive; | |
text-transform: uppercase; | |
letter-spacing: -5px; | |
} | |
*:hover { | |
/*webkit rainbow gradient*/ | |
background-image: -webkit-gradient(linear, left top, left bottom, |