mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
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;
|
|
}
|