Sha256: 55d6d5f0012ff37d0f403f56ba19ad41d8689d74d42b3217a406c71a48b47dea

Contents?: true

Size: 429 Bytes

Versions: 4

Compression:

Stored size: 429 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stitch-0.1.4 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.4.beta.2 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.4.beta.1 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.3.2 stylesheets/stitch/patterns/images/_image-replace.scss