回答編集履歴
1
表現の修正
answer
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
max-heightで値を設定しておくと、heightがautoでも行ける
|
1
|
+
max-heightで値を設定しておくと、heightがautoでも行けるようになります。
|
2
2
|
[auto height な CSS Transitions](http://unformedbuilding.com/articles/auto-height-css-transitions/)
|
3
3
|
|
4
4
|
```css
|
@@ -11,6 +11,6 @@
|
|
11
11
|
}
|
12
12
|
.description-show{
|
13
13
|
height: auto;
|
14
|
-
max-height:
|
14
|
+
max-height: 1000px;
|
15
15
|
}
|
16
16
|
```
|