如何根据div中的文本更改div的高度。当我检查响应性时,文本会从div中跳出来。Display : inline-block不工作。我想调整高度而不是隐藏溢出

我的div在一行中。
<div class="row pd-md-x-15 pd-xs-x-15">
<div class="pd-t-20 wer bd-t wd-100p">
<a href=""></a>
the quick brown fox jumps over the lazy dog
</div>
</div>发布于 2019-02-18 19:19:58
检查您的div (或它的容器)是否定义了height或max-height,如果有,则使用以下命令删除或覆盖它们:
height: auto;
max-height: none;https://stackoverflow.com/questions/54746018
复制相似问题