gpt4 book ai didi

javascript - firefox 中的兼容性问题,动态,绝对表内容

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

如何使这个 ( http://jsbin.com/uxayid/3/) 在 firefox 中也能工作?

这是三 Angular 形的 css:

#c table tr td {
height: 295px;
width: 208px;
background-color: white;
border: 1px solid black;
position: relative;
text-align: center;
}
.tr-topright {
border-left-width: 42px;
border-top-width: 42px;
border-left-color: white;
border-left-style: solid;
border-top-color: #BBBBBB;
border-top-style: solid;
box-shadow: -3px 3px 6px 0 lightGrey;
height: 0;
position: absolute;
right: 0;
top: 0;
width: 0;
}

第一个是预期结果。

chrome and firefox preview

最佳答案

只需添加:

display: block;
float: left;

#c table tr td

规则

它应该可以正常工作。

关于javascript - firefox 中的兼容性问题,动态,绝对表内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12278853/

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