Sha256: 23c16cb7c26127f9d432e8895c4586b358d1399920a57988a032edec50b4c593

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

//
//  Removes any text from an element and replaces it with an image
//
%stitch-image-replace {
	display             : block;
	text-indent         : -9999em;
	overflow            : hidden;
  	background-repeat   : no-repeat; 
	text-align          : left; 
	direction           : ltr;
}

@mixin image-replace($img) {
	@extend %stitch-image-replace;
	height:image-height($img);
	width:image-width($img);
	background-image:image-url($img);
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stitch-0.1.7.beta.3 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.7.beta.2 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.7.beta.1 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.6 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.5 stylesheets/stitch/patterns/images/_image-replace.scss