jquery.cssanimateauto
Version:
A jQuery plugin that uses CSS transitions to animate an element's height or width to or from auto.
34 lines (27 loc) • 379 B
CSS
.content {
background: lightgray;
height: 0;
overflow: hidden;
}
#content-h-restricted {
width: 200px;
}
.content.m-width {
width: 0;
}
#content-w-restricted {
height: 50px;
}
#content-w-min {
min-height: 50px;
}
#content-closed-height {
height: 30px;
}
.different-open-class {
background: black;
color: white;
}
#content-h-starting {
height: auto;
}