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
require 'sass' | |
## install Linguistics gem, sudo install gem linguistics | |
require 'linguistics' | |
Linguistics::use( :en ) # extends Array, String, and Numeric | |
## this is the linguistics gem, | |
## instructions on how to use, http://deveiate.org/projects/Linguistics/wiki/English | |
## 5.en.numwords would output 'five' |
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 screen and (min-width:0\0) { | |
/* IE9 and IE10 rule sets go here */ | |
.parentSelector { | |
img { | |
max-width: none; | |
width: 100% !important; | |
} | |
} | |
} |
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
@mixin imageOpacityFix() { | |
-webkit-transform: rotate(0); | |
-moz-transform: rotate(0); | |
-o-transform: rotate(0); | |
transform: rotate(0); | |
-webkit-backface-visibility: hidden; | |
-moz-backface-visibility: hidden; | |
-o-backface-visibility: hidden; | |
backface-visibility: 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
jQuery( document ).ready( function( $ ) { | |
var container = $('.TheMasonryContainer').masonry(); | |
// layout Masonry again after all images have loaded | |
container.imagesLoaded( function() { | |
container.masonry(); | |
}); | |
}); |