Skip to content

Commit

Permalink
remove image shimmer
Browse files Browse the repository at this point in the history
  • Loading branch information
realsung committed Jul 11, 2024
1 parent ce6c5a2 commit 0d9402f
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions _sass/addon/commons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -514,41 +514,41 @@ main {
display: inline-flex;
}

.shimmer {
overflow: hidden;
position: relative;
background: var(--img-bg);

&::before {
content: '';
position: absolute;
background: var(--shimmer-bg);
height: 100%;
width: 100%;
-webkit-animation: shimmer 1.3s infinite;
animation: shimmer 1.3s infinite;
}

@-webkit-keyframes shimmer {
0% {
transform: translateX(-100%);
}

100% {
transform: translateX(100%);
}
}

@keyframes shimmer {
0% {
transform: translateX(-100%);
}

100% {
transform: translateX(100%);
}
}
}
// .shimmer {
// overflow: hidden;
// position: relative;
// background: var(--img-bg);

// &::before {
// content: '';
// position: absolute;
// background: var(--shimmer-bg);
// height: 100%;
// width: 100%;
// -webkit-animation: shimmer 1.3s infinite;
// animation: shimmer 1.3s infinite;
// }

// @-webkit-keyframes shimmer {
// 0% {
// transform: translateX(-100%);
// }

// 100% {
// transform: translateX(100%);
// }
// }

// @keyframes shimmer {
// 0% {
// transform: translateX(-100%);
// }

// 100% {
// transform: translateX(100%);
// }
// }
// }

.embed-video {
width: 100%;
Expand Down

0 comments on commit 0d9402f

Please sign in to comment.