2019年11月5日
摘要: 在stylus中使用: 1.在src目录下的assets文件中的styles文件中创建一个varibles.styl文件 2.在varibles.styl文件中书写代码 $bgColor = #00bcd4 3.在vue组件的style中引入全局样式 @import '../../../assets 阅读全文
posted @ 2019-11-05 23:51 yu_bin 阅读(12306) 评论(0) 推荐(2) 编辑
摘要: box-shadow:营造层次感(立体感)、充当没有宽度的边框、特殊效果(无限投影的方式作画等) <style> #box{ width: 200px; height: 200px; background: #ff0000; margin: 100px auto; /*参数:x方向偏移 y方向偏移 阅读全文
posted @ 2019-11-05 23:23 yu_bin 阅读(466) 评论(0) 推荐(0) 编辑