Skip to content

Instantly share code, notes, and snippets.

@jotaelesalinas
Last active March 22, 2018 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jotaelesalinas/7d7e77d85461678c7a0afb97c29bac96 to your computer and use it in GitHub Desktop.
Save jotaelesalinas/7d7e77d85461678c7a0afb97c29bac96 to your computer and use it in GitHub Desktop.
highlight.css
.highlight {
background-image: linear-gradient(-100deg,hsla(90,92%,75%,.3),hsla(90,92%,75%,.7) 98%,hsla(90,92%,75%,.1));
border-radius: .25em 0;
padding: 0 .25em;
margin: 0 -.25em;
}
.underline {
background-image: linear-gradient(120deg, darkorange 0%, orange 100%);
background-repeat: no-repeat;
background-size: 100% 0.2em;
background-position: 0 98%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment