Skip to content

Instantly share code, notes, and snippets.

@gEndelf
Created January 8, 2016 09:18
Show Gist options
  • Save gEndelf/44d24eb6084582ad143e to your computer and use it in GitHub Desktop.
Save gEndelf/44d24eb6084582ad143e to your computer and use it in GitHub Desktop.
.overlay {
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
transition: all 0.35s ease;
-webkit-transition: all 0.35s ease;
-moz-transition: all 0.35s ease;
-o-transition: all 0.35s ease;
-ms-transition: all 0.35s ease;
border-radius: inherit;
left: 0;
top: 0;
bottom: 0;
right: 0;
background-color: darken(@brand-primary, 20%);
&:hover {
opacity: 1;
cursor: pointer;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment