随笔分类 -  css

摘要:body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, button, input, textarea, th, td { margin: 0; padding: 0; } body { font size: 阅读全文
posted @ 2020-01-28 11:27 korea 阅读(829) 评论(0) 推荐(2)
摘要:Grid 栅格系统的使用 定义容器 .coninater { display: grid; } 多种方式定义单格 1. 按百分比划分 .coninater { display: grid; grid template rows: 50% 50%; grid template columns: 20% 阅读全文
posted @ 2019-11-05 23:56 korea 阅读(436) 评论(0) 推荐(0)
摘要:在html中网页可以看成一个立体的空间,一个完整的页面是由很多个页面堆积形成的,如下图所示 CSS中Position属性有四个可选值,它们分别是:static、absolute、fixed、relative。 position:static无定位 该属性值是所有元素定位的默认情况,在一般情况下,我们 阅读全文
posted @ 2019-06-20 15:07 korea 阅读(376) 评论(0) 推荐(3)