摘要: 阅读全文
posted @ 2022-08-26 11:17 小刘哇 阅读(26) 评论(0) 推荐(0)
摘要: function setSize (){ // 根据设备的宽度,得到一个字体大小 const f = document.documentElement.clientWidth/当前设备的屏幕宽度*100; // 赋值给根元素 document.documentElement.style.fontSi 阅读全文
posted @ 2021-10-22 14:29 小刘哇 阅读(39) 评论(1) 推荐(0)
摘要: 父类排列 1、flex-direction:子项目的排列方向 row:左到右 row-reverse:右到左 column:上到下 column-reverse:下到上 2、flex-wrap:子项目多行 nowrap wrap wrap-reverse 12345 123 45 45 123 3、 阅读全文
posted @ 2021-10-19 09:12 小刘哇 阅读(37) 评论(0) 推荐(0)