mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
Co-authored-by: Mrugesh Mohapatra <[email protected]> Co-authored-by: Oliver Eyton-Williams <[email protected]>
24 lines
340 B
CSS
24 lines
340 B
CSS
@keyframes fadeInImg {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.img-loading {
|
|
opacity: 0;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.img-loaded {
|
|
animation: fadeInImg cubic-bezier(0.23, 1, 0.32, 1) 1;
|
|
position: relative;
|
|
opacity: 0;
|
|
animation-fill-mode: forwards;
|
|
animation-duration: 0.7s;
|
|
animation-delay: 0.1s;
|
|
}
|