随笔分类 -  css

摘要:父容器 子容器 阅读全文
posted @ 2019-10-27 15:19 发疯的man 阅读(278) 评论(0) 推荐(0) 编辑
摘要:四种方法 * width() 内容 * innerWidth() 内容+内边距 * outerWidth() 内容+内边距+边框 * outerWidth(true) 内容+内边距+边框+外边距 阅读全文
posted @ 2019-10-24 21:25 发疯的man 阅读(516) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_39083004/article/details/78498178 https://www.imooc.com/article/17571 推荐 offsetLeft 一个元素的offsetLeft值,就是这个元素左边框外,到自己的offsetPar 阅读全文
posted @ 2019-05-18 13:34 发疯的man 阅读(574) 评论(0) 推荐(0) 编辑
摘要:reset.css(几乎每个项目都要引入的css) @charset "utf-8";html{background-color:#fff;color:#000;font-size:12px} body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,figure,form,fields 阅读全文
posted @ 2018-07-03 22:43 发疯的man 阅读(1797) 评论(0) 推荐(0) 编辑

喜欢请打赏

扫描二维码打赏

了解更多

喜欢请打赏

点击右上角即可分享
微信分享提示