Skip to content

Instantly share code, notes, and snippets.

@pdcmoreira
Created November 5, 2019 18:43
Show Gist options
  • Save pdcmoreira/6a25d907c9726aaf3e762924f1b565b4 to your computer and use it in GitHub Desktop.
Save pdcmoreira/6a25d907c9726aaf3e762924f1b565b4 to your computer and use it in GitHub Desktop.
Toggle underline style on action icon
.action {
position: relative;
height: 30px;
&.toggled {
&::after {
content: '';
position: absolute;
bottom: -4px;
left: 50%;
margin-left: -15px;
width: 30px;
border-bottom: 2px solid #1fa3fc;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment