Via Z63: http://zerosixthree.se/8-sass-mixins-you-must-have-in-your-toolbox/
Usage:
@include keyframes(slide-down) {
Via Z63: http://zerosixthree.se/8-sass-mixins-you-must-have-in-your-toolbox/
Usage:
@include keyframes(slide-down) {
// Columns | |
$mobile-portrait-columns: 4; | |
$mobile-landscape-columns: 4; | |
$tablet-portrait-columns: 8; | |
$tablet-landscape-columns: 8; | |
$desktop-columns: 12; | |
// Portrait |
<?php | |
/** | |
* Load site scripts. | |
* | |
* @since 1.0.0 | |
* | |
* @return void | |
*/ | |
function wpgulp_enqueue_scripts() { |
@font-face { | |
font-family: 'icomoon'; | |
src:url('../../fonts/icomoon.eot?-acamik'); | |
src:url('../../fonts/icomoon.eot?#iefix-acamik') format('embedded-opentype'), | |
url('../../fonts/icomoon.woff?-acamik') format('woff'), | |
url('../../fonts/icomoon.ttf?-acamik') format('truetype'), | |
url('../../fonts/icomoon.svg?-acamik#icomoon') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
class WebhookStripeProcessor | |
def process(id) | |
trusted = Stripe::Event.retrieve(id) | |
data = trusted.data.object | |
case trusted.type | |
when "plan.created" | |
SubscriptionPlan.create_or_update_from_stripe(data) | |
when "plan.updated" | |
SubscriptionPlan.create_or_update_from_stripe(data) |
` | |
//= require ./../bower_components/jquery/jquery.js | |
//= require ./../bower_components/modernizr/modernizr.js | |
//= require_tree ./common | |
` | |
#= require_tree ./modules | |
$ -> | |
new CustomBehavior() |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# config/compass.rb | |
# Require any additional compass plugins here. | |
project_type = :rails | |
project_path = RAILS_ROOT if defined?(RAILS_ROOT) | |
css_dir = "public/stylesheets/compiled" | |
sass_dir = "app/stylesheets" | |
images_dir = "public/images" | |
javascripts_dir = "public/javascripts" | |
output_style = :compact | |
http_images_path = "/public/images" |