Permalink
Browse files

Merge branch 'hide-text' of https://github.com/frankzilla/bourbon

  • Loading branch information...
2 parents 10a5908 + 4989d84 commit 3f736eabfefbf53aa347362518d1c61f96589b7b @mike-burns mike-burns committed Mar 16, 2012
Showing with 17 additions and 0 deletions.
  1. +1 −0 app/assets/stylesheets/_bourbon.scss
  2. +15 −0 app/assets/stylesheets/addons/_hide-text.scss
  3. +1 −0 readme.md
@@ -30,6 +30,7 @@
@import "addons/button";
@import "addons/clearfix";
@import "addons/font-family";
+@import "addons/hide-text";
@import "addons/html5-input-types";
@import "addons/position";
@import "addons/timing-functions";
@@ -0,0 +1,15 @@
+@mixin hide-text {
+ background-color: transparent;
+ border: 0;
+ color: transparent;
+ font: 0/0 a;
+ text-shadow: none;
+}
+
+// A CSS image replacement method that does not require the use of text-indent.
+//
+// Examples
+//
+// .ir {
+// @include hide-text;
+// }
View
@@ -182,6 +182,7 @@ Bourbon aims to provide support for CSS3 properties that are not yet fully suppo
--------------------------------
@ button(*args)
@ clearfix
+ @ hide-text
@ position(*args)
#{$all-text-inputs}

0 comments on commit 3f736ea

Please sign in to comment.