Mixin - HIDE TEXT from the screen - SASS

/* USAGE: .logo{ background: url("logo.png"); height:100px; width:200px; @include hide-text; } */ @mixin hide-text{ // METHOD 1: // overflow:hidden; // text-indent:-9000px; // display:block; // METHOD 2: font: 0/0 a; text-shadow: none; color: transparent; }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.