Skip to content

Instantly share code, notes, and snippets.

Pavel Shut SpadarShut

  • Belarus
View GitHub Profile
@SpadarShut
SpadarShut / pinch-zoom-directive.js
Last active Aug 29, 2015 — forked from ktknest/pinch-zoom-directive.js
pinch zoom in/out directive for AngularJS
View pinch-zoom-directive.js
// sample: http://codepen.io/ktknest/full/LDljw/
angular.module('app', [])
/**
* @ngdoc directive
* @name pinchZoom
* @restrict A
* @scope false
*
* @description
View dabblet.css
.document-page__sheet {
display: inline-block;
background: #f00;
box-shadow: 0 2px 10px rgba(0,0,0,.3), inset 0 0 1px red;
}
.document-page__content {
display: inline-block;
}
/* THE IMAGE : */
View css-stats-ack.sh
#!/bin/bash
## v1.0.6
## this script will gernerate css stats
### example output
# CSS STATS
# ----------
# Floats: 132
View dabblet.css
/* Steps */
.steps {
margin: 25px 50px;
}
.step {
float: left;
width: 0;
text-align: center;
}
You can’t perform that action at this time.