I'm trying to put an animated% css in CSS with loader
on a page, but I'd like to put a "drag effect" on it as if it blurred a "blur" in> following the element when it moves ...
Type this image
ButI'veonlybeenabletogethere...Anyonehaveanytipsorknowatechniquehowtogetsomethingsimilartothis?
.box {
position: absolute;
left: 50%;
width: 400px;
height: 200px;
margin-left: -200px;
overflow: hidden;
background: #333;
}
.bola {
position: absolute;
width: 50px;
height: 50px;
top: 75px;
left: 175px;
background: #999;
border-radius: 50%;
-webkit-animation: bolax 2s ease-in-out infinite;
animation: bolax 2s ease-in-out infinite;
}
@keyframes bolax {
0%, 100% {
-webkit-transform: translateX(-150px);
transform: translateX(-150px);
}
50% {
-webkit-transform: translateX(150px);
transform: translateX(150px);
}
}
<div class="box">
<div class="bola">
</div>
</div>