Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
その上の要素に適応するように要素を変更するにはどうすればよいですかposition。ボックスが大きくなると(人々がより多くのテキストを入力すると、より多くのテキスト{height:auto;}が入力されるとボックスが大きくまたは小さくなります)とにかく、2番目のボックスを移動するにはどうすればよいですpositionか5px(ボックス間のスペース)最初のボックスを過ぎたところですか?
position
{height:auto;}
5px