照旧贴出代码
别踩白块 html, body { height: 100%; font-size: 62.5%; } body, div, ul, li { padding: 0; margin: 0; } section { width: 100%; height: 100%; position: relative; } #container { position: absolute; top: -276px; padding: 0 20px; width: 100%; height: 1460px; background: #eee; } .row { margin-top: 30px; overflow: hidden; list-style: none; display: flex; } .col { flex: 1; margin-right: 3%; margin-bottom: 5px; height: 20rem; border-radius: 5px; border: 1px solid gray; box-shadow: 5px 5px 5px gray; background: #fff; } .col:last-child { margin: 0 5px 5px 0; } footer { position: fixed; bottom: 0; height: 28%; width: 100%; text-align: center; font: bold 5rem/100px "microsoft yahei"; background: gray; } .action { width: 300px; height: 100px; font-size: inherit; } .black { background: #000; }
查看更多关于小游戏别踩白块_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did109394