Skip to content

Commit

Permalink
#99 Fade in then fade out with css
Browse files Browse the repository at this point in the history
  • Loading branch information
nhumblot committed Apr 29, 2021
1 parent 50403f0 commit fd16462
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/views/vmd-rdv.view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@
}
}

.fade-in-then-fade-out {
animation-name: fade-in-then-fade-out;
animation-duration: 10s;
animation-fill-mode: forwards;
}

@keyframes fade-in-then-fade-out {
0%, 100% {opacity: 0}
10%, 90% {opacity: 1}
}

vmd-appointment-card {
display: block;
opacity: 1;
Expand Down
2 changes: 1 addition & 1 deletion src/views/vmd-rdv.view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export abstract class AbstractVmdRdvView extends LitElement {
/>`;
})}
</div>
<div class="eligibility-criteria">
<div class="eligibility-criteria fade-in-then-fade-out">
<p>Les critères d'éligibilité sont vérifiés lors de la prise de rendez-vous</p>
</div>
`}
Expand Down

0 comments on commit fd16462

Please sign in to comment.