<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem 。这将有助于其他人回答问题。
关闭 6 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem 。这将有助于其他人回答问题。
关闭 6 年前。
我想使我的 2 个个人网站上的联系表格相同,我从 first site 复制相同的联系表格并粘贴到 second site 中,但联系表格看起来有点破烂。如何使两个站点的字段高度相同?
最佳答案
您可以为 form
使用 display:flex
。还有很多其他属性可以用来实现你想要的。像 justify-content: center
和 flex-wrap: wrap
用于父级,flex: 1
用于子级。
凭借其广泛的浏览器支持,我建议您看一下这篇关于 CSS Flexbox 的可视化文章:https://css-tricks.com/snippets/css/a-guide-to-flexbox/
关于css - 如何使 Contact Form 7 中所有字段的高度相同?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42334107/