随笔分类 -  css3

css3回顾 checkbox
摘要:*{ padding:0; margin:0; } .checkBox{ width:20px; margin:20px; position:relative; } .checkBox label{ position:absolute; left:0; top:0; width:20px; height:20px; cursor:p... 阅读全文
posted @ 2018-10-17 16:43 执候 阅读(165) 评论(0) 推荐(0)
三角形实现原理
摘要:参考:https://www.cnblogs.com/huangzhilong/p/5030659.html 1,首先我能来看下有宽高的样子 再来看下没宽高的样子 对比你是不是发现了有宽高他展现的是个矩形,宽高为0展现的是一个三角形 这个就涉及到重叠是问题了,就不解释这个了,但是你有没有发现离我们想 阅读全文
posted @ 2018-01-25 11:55 执候 阅读(415) 评论(0) 推荐(0)