总结比较常用的牛逼的css

隐藏浏览器自动添加账号密码的屎黄色背景

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-transition-delay: 99999s;
-webkit-transition: color 99999s ease-out, background-color 99999s ease-out;
}
 
选择special下所有class为 col-的class
.special  [class*=col-]
 
选择当前元素后面紧跟的 div 
+div 

猜你喜欢

转载自www.cnblogs.com/cuteBoylijing/p/9284865.html