Skip to content

Instantly share code, notes, and snippets.

@askucher
Created October 30, 2013 09:13
Show Gist options
  • Save askucher/7229438 to your computer and use it in GitHub Desktop.
Save askucher/7229438 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
%span.required.angle
%input
// ----
// Sass (v3.3.0.rc.1)
// Compass (v0.13.alpha.10)
// ----
$red: red
.required.angle
position: absolute
width: 0
height: 0
right: 3px
top: 3px
border-top: 20px solid $red
border-left: 20px solid transparent
.required.angle {
position: absolute;
width: 0;
height: 0;
right: 3px;
top: 3px;
border-top: 20px solid red;
border-left: 20px solid transparent;
}
<span class='required angle'>
<input>
</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment