gpt4 book ai didi

html - 为什么文本溢出会在 twitter bootstrap 中跨越?

转载 作者:行者123 更新时间:2023-11-28 13:39:48 26 4
gpt4 key购买 nike

http://www.responsinator.com/?url=http%3A%2F%2Ftoplessproductions.com%2Fyuv%2Fproblem%2Ftextoverflow.html

请注意,“Crappy Android portrait 240 x 320”会使卡片的文本溢出。对此有规范的解决方案吗?我可以为 body 决定一个 min-width,但这只会掩盖问题。

enter image description here

最佳答案

您需要设置 CSS 媒体查询以在较小的浏览器上缩小为文本

@media (max-width: 480px) {
h2 {
font-size: 10px !important;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

类似的东西适用于手机和 h2s。

关于html - 为什么文本溢出会在 twitter bootstrap 中跨越?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12551094/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com