纯CSS画扑克牌

纯CSS画扑克牌,第1张

概述纯CSS画扑克牌

下面是内存溢出 jb51.cc 通过网络收集整理的代码片段。@H_301_1@

内存溢出小编现在分享给大家,也给大家做个参考。@H_301_1@

.card { background-color: #fff; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; -moz-Box-shadow: 0 0 5px rgba(0,0.5); -webkit-Box-shadow: 0 0 5px rgba(0,0.5); Box-shadow: 0 0 5px rgba(0,0.5); float: left; height: 280px; margin: 0 15px 15px 0; position: relative; wIDth: 200px; z-index: 2; }.card .corner { line-height: 1; overflow: hIDden; position: absolute; text-align: center; }.card .corner span { display: block; Font-size: 24px; Font-weight: bold; }.card .corner .number { Font-size: 32px; height: 32px; line-height: 32px; }.card .corner.top { left: 8px; top: 12px; }.card .corner.bottom { bottom: 12px; right: 8px; -moz-transform: rotate(180deg); -webkit-transform: rotate(180deg); }.card .suit { Font-size: 64px; Font-weight: bold; height: 60px; line-height: 60px; overflow: hIDden; position: absolute; text-align: center; wIDth: 50px; }.card .top_center { left: 76px; top: 24px; }.card .bottom_center { bottom: 24px; left: 76px; -moz-transform: rotate(180deg); -webkit-transform: rotate(180deg); }.card .back { background-color: red; -webkit-transform: rotateY(180deg); }

以上是内存溢出(jb51.cc)为你收集整理的全部代码内容,希望文章能够帮你解决所遇到的程序开发问题。@H_301_1@

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。@H_301_1@ 总结

以上是内存溢出为你收集整理的纯CSS画扑克牌全部内容,希望文章能够帮你解决纯CSS画扑克牌所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1096862.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存