随笔分类 -  html

摘要:1.contain 宽高自适应 2.cover 宽度自适应,高度裁剪 3.具体值(例如100%,100%等) 拉伸,会失真 阅读全文
posted @ 2021-07-17 23:40 zoo-x 阅读(41) 评论(0) 推荐(0) 编辑
摘要:1.svg,canvas 2.border-radius+三角形实现方式 3.两个半圆,旋转其中一个半圆 4.clip(考虑兼容性) 其中,第3种方式可以绘制不同角度的扇形 阅读全文
posted @ 2021-06-21 09:58 zoo-x 阅读(415) 评论(0) 推荐(0) 编辑
摘要:在控制台输入document.body.contentEditable="true"或者document.designMode = 'on'就可以实现对网页的编辑了。 阅读全文
posted @ 2020-05-20 14:10 zoo-x 阅读(267) 评论(0) 推荐(0) 编辑
摘要:规范里说: Authors specify the style and location of generated content with the :before and :after pseudo-elements. As their names indicate, the :before an 阅读全文
posted @ 2019-11-03 00:32 zoo-x 阅读(2018) 评论(0) 推荐(0) 编辑

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