圆角边框表格效果
代码语言:html
所属分类:表格
代码描述:圆角边框表格效果
代码标签: 效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> /* --- The Table Structure --- */ table { border-collapse: separate; border-spacing: 0; } table tr th, table tr td { border-right: 1px solid #bbb; border-bottom: 1px solid #bbb; box-shadow: 2px 2px 1px #e5dfcc; } table tr th:first-child, table tr td:first-child { border-left: 1px solid #bbb; } table tr th { border-top: 1px solid #bbb; } /* top-left border-radius */ table tr:first-child th:first-child { border-top-left-radius: 6px; } /* top-right border-radius */ table tr:first-child th:last-child { border-top-right-radius: 6px; } /* bottom-left border-radius */ table tr:last-child td:first-child { border-bottom-left-radius: 6px; } /* bottom-right border-radius */ table tr:last-child td:last-child { border-bottom-right-radius: 6px; } /* -- The Stlyes -- */ body { margin: 30px; background: #ECEAE3; font-family: 'Muli', Serif; } th, td{ padding: 8px 20.........完整代码请登录后点击上方下载按钮下载查看
网友评论0