Sha256: b670058c6eede911a4c0b1ebfd3f4ab2273ca9e04f8c42d9299afaf5c2ef9ca8

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

@mixin clearfix {
  *zoom: 1;
  
  &:before, &:after { content: ""; display: table; }
  &:after { clear: both; }
}

@mixin html5-boilerplate-helpers {
  /* For image replacement */
  .ir { border:0; font: 0/0 a; text-shadow: none; color: transparent; background-color: transparent; }

  /* Hide from both screenreaders and browsers: h5bp.com/u */
  .hidden { display: none !important; visibility: hidden; }

  /* Hide only visually, but have it available for screenreaders: h5bp.com/v */
  .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

  /* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
  .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

  /* Hide visually and from screenreaders, but maintain layout */
  .invisible { visibility: hidden; }

  /* Contain floats: h5bp.com/q */
  .clearfix { @include clearfix; }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html5-starter-0.2.9b stylesheets/html5-boilerplate/_helpers.scss