Sha256: 7e8f7a5ba65b0cb297e5ab805041b369d6d73e0b49b1a34f1705b234b97002c0

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 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

3 entries across 3 versions & 1 rubygems

Version Path
stitch-0.1.3.1 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.3 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.2 stylesheets/stitch/patterns/images/_image-replace.scss