- /* displayed through Javascript */
- height: 0;
- overflow: hidden;
- transition: height 3s linear;
- /* visibility: hidden; */
- /* opacity: 0; */
- /* transition: opacity 2s linear; */
-
+ /* hidden, and then toggled, from Javascript. */
+ border: 1px solid transparent;
+ /* without this invisible border there is a jump at the end of the
+ animation. */
+ padding-top: -1em;