What I'm trying to do is leave a background shadow that passes from left to right. What the background does is give it another background color, but instead of it appearing, it moves. modify everything. Now I did this:
.Grupo {
transition: all 0.5s ease-out;
transition-timing-function: linear;
}
.Grupo:hover {
background: #C7212F !important;
}
<div id="area-vulnerables" class="Grupo">
<a href="" title="">
<div class="area-icon">
Contenido
</div>
</a>
</div>
Well, everything even works fine, but what I want to do and it doesn't work out for me is that the transition is from left to right. How can I do it?
I don't know if I understood correctly, is this what you are looking for?:
If what you want is to keep the gradient then you can do (thanks @delCano):
I have increased the time a little
ease-out
so that the effect is better appreciated.