html - 设计具有 3D 效果的 table

标签 html css

我试着做一个小论坛来培训一些网页设计。如何更改该表设计以具有 3 维 (3D) 表?或者如果有任何解决方案可以改进它的设计,那可能会更好!

除此之外,欢迎大家批评指正!

enter image description here

/* Tableaux -------------------------------------------------------------------------------------*/
table {
    border-collapse: collapse;
}

pair {
    background-color: #efefef;
}

tr.impair {
    background-color: #fff;
}

th {
    color: #D89845;
    border: 1px solid #D89845;
    padding: 5px;
    font: normal 8pt verdana, helvetica, sans-serif;
}

td {
    border: 1px solid #ddd;
    padding: 5px;
    font: normal 8pt verdana, helvetica, sans-serif;
}

PS:我会保留最好的建议作为对主题的验证。

提前致谢。

最佳答案

您可以使用 box-shadow 是为任何对象提供 3d 外观和感觉的最佳解决方案。

box-shadow use browser specipic prefixes like -webkit, -o, -moz etc . Here I just gave the link where you can find out more about it & can study how it works. I also many times just created such type of objects that have just 3d feel.
Link to box-shadow.

关于html - 设计具有 3D 效果的 table ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18700559/

相关文章:

javascript - HTML5 FormData 通过 JQuery 发送空对象

javascript - 如何更改所选选项的背景颜色? (HTML)

jquery - HTML - 字全宽

html - 为创造性地使用 "Flex-Box"而回退到旧的(和烦人的)浏览器

javascript - 导航栏动画

javascript - 运行 HTML5 Web Worker 时 Google Chrome 无响应

html - 网格元素具有不同的高度

jquery - 无法在中心对齐 div 的动态内容

html - 带有 Twitter Bootstrap 3 的内联响应式菜单

javascript - 这是我的 Javascript 代码..如果 datepicker 为空,我需要添加对 datepicker 的验证,警报消息 "date can not be empty "