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.
当我将边框和边框半径应用于 td 时,内半径是直角,根本不圆角。
最有可能的问题是具有不透明背景的子元素将剪裁边框的内半径。
要解决此问题,您可以overflow:hidden在您的td.
overflow:hidden
td
您可以在此示例小提琴中使用溢出来查看效果。