Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@mixin moose-tooltip($message) {
position: relative;
display: inline-block;
text-decoration: underline dotted blue;
&::before {
opacity: 0;
&:hover::before {
opacity: 1;
font-size: 0.8rem;
content: "#{$message}";
position: absolute;
padding: 0.5em;
bottom: 1.5rem;
left: 20px;
max-width: 20em;
white-space: nowrap;
border: 1px solid black;
border-radius: .5em;
background-color: white;
box-shadow: 0 0 .2em grey;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.