だが、私はオーバーフロー がスムーズ
div {position:absolute;top:0;left:0;background:red;max- height:100px;width:100px; display:flex;flex-wrap:wrap;position:relative}
それで100pxにの
max-height
とテキストをdiv要素を持っていると私はそれの下部にボタンがあるとしましょうdivの中に隠されたテキストをオーバーフローし、残りを示しています。
button {position:absolute;bottom:0;width:100%;height:30px;background:blue;}
そして、私はjQueryを使ってやろうです:ボタンをクリックするだけでスムーズにそれを下にスライドさせ、divの内の残りのすべての隠されたテキストを表示します。
はい、私はそれを切り替える必要がある - ので、DIVが示されており、私はそれが再び –
を非表示になります目ebuttonをckickされた場合にどのようにこのです:https://jsfiddle.net/tp3zcn12/ – Aender