Answers for "animate change background color angular"

0

animate change background color angular

<body [ngClass]="{'short': condition, 'long': !condition }">
  ...
</body>

.short {
  background-color: blue;
  transition: all 0.5s 0s ease-in;
}
.long {
  background-color: red;
  transition: all 1s 0s ease-in;
}
Posted by: Guest on September-23-2021

Code answers related to "animate change background color angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language