Skip to content

Instantly share code, notes, and snippets.

View csakiistvan's full-sized avatar
🏔️
happiness

Csáki István csakiistvan

🏔️
happiness
View GitHub Profile
@twe4ked
twe4ked / input.scss
Created December 5, 2011 06:27
FREE! Sass (SCSS) mixin for including retina images (useful when developing for iOS).
@mixin background-image-retina($file, $type, $width, $height) {
background-image: url($file + '.' + $type);
@media (-webkit-min-device-pixel-ratio: 2), (-moz-min-device-pixel-ratio: 2) {
& {
background-image: url($file + '@2x.' + $type);
-webkit-background-size: $width $height;
}
}
}
@csakiistvan
csakiistvan / new_gist_file
Created June 11, 2013 17:46
Views row tpl
<?php print $fields['field_fooldlal_kep_fid']->content ?>