Sha256: 91065fd530fc2c0b11aa156a55e1622ffe60d0a4df60562ed98f80b9ecd09cb1

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

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

2 entries across 2 versions & 1 rubygems

Version Path
stitch-0.1.1 stylesheets/stitch/patterns/images/_image-replace.scss
stitch-0.1.0 stylesheets/stitch/patterns/images/_image-replace.scss