Sha256: 5bd327efcb535cc086d4fb4505a6ed31f628015317fc613df3551100cba844e9

Contents?: true

Size: 613 Bytes

Versions: 2

Compression:

Stored size: 613 Bytes

Contents

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
@mixin hide-from-all {
	display:none;
	visibility: hidden;
} 

/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/ 
   Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
@mixin screenreaders-only {
	position: absolute !important;    
  	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  	clip: rect(1px, 1px, 1px, 1px);
}

/* Hide visually and from screenreaders, but maintain layout */
@mixin invisible-with-layout {
	visibility: hidden;
}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
stitch-0.0.3 stylesheets/stitch/patterns/accessibility/_hide-content.scss
compass-stitch-0.0.1 stylesheets/stitch/patterns/accessibility/_hide-content.scss