JSFiddle - React, Tailwind, and code Playground
by Brad9aga
HTML
<a href="#" class="yes">
Hello
<div class="not">my friend !</div>
</a>
CSS
body {
font-family: Roboto;
}
.yes{
text-decoration: none;
outline:1px solid red;
}
.yes:hover, .yes:active{
1text-decoration: underline;
}
.yes:hover .not{
text-decoration: line-through;
color: red;
}