mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add shimmer helper
This commit is contained in:
parent
a1016b4eeb
commit
f9e3120ba6
1 changed files with 18 additions and 0 deletions
|
|
@ -117,3 +117,21 @@
|
||||||
.hover\:bg-blur:hover {
|
.hover\:bg-blur:hover {
|
||||||
backdrop-filter: blur(15px);
|
backdrop-filter: blur(15px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.shimmer {
|
||||||
|
animation: placeHolderShimmer 1s infinite;
|
||||||
|
animation-timing-function: linear;
|
||||||
|
background: #f6f7f8;
|
||||||
|
background: linear-gradient(to right, rgba(0, 0, 0, 0.07) 8%, rgba(0, 0, 0, 0.45) 18%, rgba(0, 0, 0, 0.07) 33%);
|
||||||
|
background-size: 200% 100px;
|
||||||
|
background-attachment: fixed;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes placeHolderShimmer {
|
||||||
|
0% {
|
||||||
|
background-position: 100% 0;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
background-position: -100% 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue