css相关内容
M_小强
这个作者很懒,什么都没留下…
展开
-
border-radius溢出隐藏失效
在class中添加transform:rotate(0deg);完美解决原创 2020-10-23 13:27:27 · 299 阅读 · 0 评论 -
清除浮动
.clearfix:after { content: "."; display: block; clear: both; height: 0;}.clearfix { zoom: 1;}原创 2017-05-04 10:49:31 · 253 阅读 · 0 评论 -
css写箭头
第一种伙拼价.mark {position: absolute;left: 10px;top: -8px;height: 16px;color: #fff;}.mark .mar {display: block;width: 0;height: 0原创 2017-05-04 15:17:12 · 364 阅读 · 0 评论 -
图片自适应
第一种:第二种:$(function(){ if($(".cinetic_img").length > 0){ resizeBox();window.onresize = resizeBox;//当窗口改变宽度时执行此函数function resizeBox(){var winW = $('#resizeBox').width();var原创 2017-05-08 13:34:08 · 316 阅读 · 0 评论 -
去掉列表中一行最后一个外边距
$(".list:nth-child(4n)").css("marginRight","0")原创 2017-05-08 16:19:57 · 2017 阅读 · 0 评论