8
I saw this element that actually works as a "Loader" while the image is loading etc. And I tried to replicate it. Not the dynamics to function as a Loader, but yes this effect of the passing lines at the top.
What I have to code so far is this, I lined up the bar at the top and everything, but what I’d like is to put this effect of "Candy bar" animated inside the top bar. How to make these passing lines like this?
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
body {
background-image: url(https://unsplash.it/600/300);
background-size: cover;
}
.bar {
position: fixed;
top: 0;
z-index: 1000;
height: 10px;
width: 100%;
background-color: rgba(255,0,0,.25);
border-bottom: 1px solid rgba(0,0,0,.25);
box-shadow: inset 0 5px 5px 0 rgba(255,255,255,.25);
}
<div class="bar"></div>
handle ready Aki https://css-tricks.com/examples/ProgressBars/
– Jasar Orion
@Jasarorion is right around ;)
– hugocsl