html - 圆 table Angular

标签 html css css-tables

你能帮我把 table Angular 弄圆吗?我试过简单的 border-radius 但这只是在 Angular 落分割了边界。这是由我的浏览器 (Firefox) 引起的还是它的错误? Jsfiddle - http://jsfiddle.net/vuys8eef/

最佳答案

您需要为表格中第一行和最后一行的第一列和最后一列圆 Angular 。

像这样:

table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}


table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

您可以看到更新后的 fiddle

关于html - 圆 table Angular ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33554130/

相关文章:

css - 两种不同的 table 样式

两页之间的 Html 表头重复且正文为空

html - 删除 HTML 电子邮件中图像上的蓝色边框

html - Firefox 中如何隐藏滚动条箭头

html - Bootstrap 3 字形 CDN

css - 标题在内容之后的响应式表格

jquery - 在没有滚动条的固定div内创建可滚动div

html - 为什么不溢出 : hidden working?

php - 使用 PHP DOM 访问样式属性

css - Internet Explorer - CSS box-Shadow on table 不适用于 IE 浏览器