2020年3月28日

摘要: 1.在index.less中写入代码: @base-font:100px;@base-width:640px;//设计稿的宽度.mixin(@width) { font-size: @base-font/@base-width*@width;}@media screen and (min-width 阅读全文
posted @ 2020-03-28 14:16 xdr 阅读(523) 评论(0) 推荐(0)
 
摘要: //index.html <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>Title</title></head><body><input type="file" value="上传图片" id="btn"><i 阅读全文
posted @ 2020-03-28 14:11 xdr 阅读(25) 评论(0) 推荐(0)
 
摘要: 1.在index.less中写入代码: @base-font:100px;@base-width:640px;//设计稿的宽度.mixin(@width) { font-size: @base-font/@base-width*@width;}@media screen and (min-width 阅读全文
posted @ 2020-03-28 14:06 xdr 阅读(39) 评论(0) 推荐(0)