Skip to content

Instantly share code, notes, and snippets.

@CodeMyUI
Created May 22, 2018 02:11
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 CodeMyUI/cefcb90e8d47d2aec5107d4b1d4dc06d to your computer and use it in GitHub Desktop.
Save CodeMyUI/cefcb90e8d47d2aec5107d4b1d4dc06d to your computer and use it in GitHub Desktop.
#codepenchallenge <del> & <ins>
<p>I'm silently correcting <del>you're</del> <ins>your</ins> grammar.</p>
body {
font-family: 'Roboto Mono', monospace;
font-size: 3em;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
p {
width: 30%;
text-align: center;
}
del {
text-decoration-color: red;
}
ins {
text-decoration: none;
font-family: 'Caveat', cursive;
font-size: 1.5em;
color: red;
position:absolute;
transform:rotate(-10deg);
margin-left: -20px;
margin-top: -40px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment