The directory contains code authored in a style that makes it transpilable to dart. As such, these are not idiomatic examples of Angular 2 usage. The main purpose of this directory is to enable experimentation with Angular within the angular/angular repository. Closes #4342 Closes #4639
26 lines
324 B
CSS
26 lines
324 B
CSS
body {
|
|
padding: 20px;
|
|
}
|
|
|
|
.box {
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: red;
|
|
transition: all 0.35s ease-in-out;
|
|
}
|
|
.box.blue {
|
|
background-color: blue;
|
|
}
|
|
.box.ng-enter {
|
|
opacity: 0;
|
|
height: 0;
|
|
}
|
|
.box.ng-enter-active {
|
|
opacity: 1;
|
|
height: 100px;
|
|
}
|
|
.box.ng-leave-active {
|
|
opacity: 0;
|
|
height: 0;
|
|
}
|