Skip to content

Instantly share code, notes, and snippets.

@kalimar
Created July 3, 2015 14:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kalimar/a1240c929d28210a973e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
<a class="removeItem">
<p class="closer"></p>
</a>
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
.removeItem {
position: absolute;
left: 3px;
top: 3px;
z-index: 2;
cursor: pointer;
border-radius: 50%;
background-color: red;
border: 1px solid red;
width: 18px;
height: 18px;
.closer::before {
display: block;
position: relative;
content: '\00d7';
top: -17px;
left: 4px;
color: white;
font-size: 16px;
font-weight: 700;
}
}
.removeItem {
position: absolute;
left: 3px;
top: 3px;
z-index: 2;
cursor: pointer;
border-radius: 50%;
background-color: red;
border: 1px solid red;
width: 18px;
height: 18px;
}
.removeItem .closer::before {
display: block;
position: relative;
content: '\00d7';
top: -17px;
left: 4px;
color: white;
font-size: 16px;
font-weight: 700;
}
<a class="removeItem">
<p class="closer"></p>
</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment