Created
September 26, 2019 13:44
-
-
Save briehanlombaard/f75d61ffae3605ea407d819acd363b60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.progress { | |
height: 5px; | |
} | |
.progress-bar { | |
background-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(0, 0, 0, 1) 100%); | |
width: 100%; | |
animation-duration: 3s; | |
animation-name: sweep; | |
animation-iteration-count: infinite; | |
animation-direction: alternate; | |
} | |
@keyframes sweep { | |
to { | |
background-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0.1) 10%, rgba(0, 0, 0, 1) 100%); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container p-4"> | |
<div class="card"> | |
<div class="card-body"> | |
<div class="progress"> | |
<div class="progress-bar" role="progressbar" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div> | |
</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment