Border Radius of Table is not working

后端 未结 7 850
谎友^
谎友^ 2020-12-13 02:12

I want to add a border radius around the entire table. But the following code is not working in both the latest versions of Firefox and Google Chrome.

HTML

7条回答
  •  抹茶落季
    2020-12-13 02:25

    Just add overflow:hidden to the table with border-radius.

    .tablewithradius {
      overflow:hidden ;
      border-radius: 15px;
    }
    

提交回复
热议问题