Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#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
You can’t perform that action at this time.