摘要: 编译成css important提升优先级 编译成css h2 { color: #900 !important; background: #F7BE81 !important;} 阅读全文
posted @ 2018-06-05 22:49 珊迪·奇克斯 阅读(225) 评论(0) 推荐(0) 编辑
摘要: @arguments包含了所有传递进来的参数。 如果你不想单独处理每一个参数的话就可以像这样写: 编译成css 阅读全文
posted @ 2018-06-05 22:27 珊迪·奇克斯 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Less中嵌套 最有意思的小东西了 两种方法: &对伪类使用 hover或focus 编译成css &的使用: 编译成css 阅读全文
posted @ 2018-06-05 22:16 珊迪·奇克斯 阅读(123) 评论(0) 推荐(0) 编辑
摘要: less中的运算 -任何数字、颜色或者变量都可以参加运算,运算应该被包裹在括号中。 -例如:+-*、 编译成css 阅读全文
posted @ 2018-06-05 21:05 珊迪·奇克斯 阅读(116) 评论(0) 推荐(0) 编辑