<style>
:root {
--colorOpacity: 1;
--colorBase: #CEF267;
--animationTime: 0.55s;
--animStart: right;
--animEnd: left;
}
.highlight_me::before {
transform: scaleX(0);
transform-origin: bottom var(--animStart);
}
.highlight_me:hover::before {
transform: scaleX(1);
transform-origin: bottom var(--animEnd);
}
.highlight_me::before {
content: " ";
display: block;
position: absolute;
top: 0; right: 0; bottom: 0; left: 0;
inset: 0 0 0 0;
background: var(--colorBase);
opacity: var(--colorOpacity);
z-index: -1;
transition: transform var(--animationTime) ease;
}
</style>