24 lines
397 B
CSS
24 lines
397 B
CSS
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.wrapper {
|
|
min-height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.content {
|
|
flex: 1;
|
|
}
|
|
|
|
#target-main {
|
|
max-height: 0;
|
|
overflow: hidden;
|
|
transition: max-height 0.3s ease;
|
|
}
|
|
|
|
#target-main.show {
|
|
max-height: 500px; /* Установите желаемую максимальную высоту */
|
|
}
|