上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 39 下一页
摘要: composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ (阿里云) 或 composer config -g repo.packagist composer https://packagist.p 阅读全文
posted @ 2020-04-25 20:05 武卡卡 阅读(943) 评论(0) 推荐(0) 编辑
摘要: 对父级样式添加overflow样式 .parent{ overflow: hidden; } .child{ float:left; } 阅读全文
posted @ 2020-04-23 02:14 武卡卡 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 文章出处: https://www.cnblogs.com/guchengnan/p/9754149.html 在开发中,好的动画效果会让软件使用起来更有吸引力,震撼力。所以我们经常会将一些常用的代码块、功能块进行封装,为的是更好的复用。 下面这些是我在工作中积累的一些常用的开源动画库,我只是简单罗 阅读全文
posted @ 2020-04-22 11:56 武卡卡 阅读(743) 评论(0) 推荐(0) 编辑
摘要: 将 头部标签的 <meta name="viewport" content="width=device-width, initial-scale=1.0" /> , 改为 <meta name="viewport" content="width=device-width" /> 即可 阅读全文
posted @ 2020-04-22 11:08 武卡卡 阅读(1606) 评论(0) 推荐(0) 编辑
摘要: img { height: 100%; object-fit: cover; } 阅读全文
posted @ 2020-04-21 15:09 武卡卡 阅读(265) 评论(0) 推荐(0) 编辑
摘要: (1) div 中内容在IE和火狐中居中问题; (2)高度的问题,div出现重叠 (3)浮动引发的问题如外围DIV无法框住内部元素; (4)IE浮动margin产生双倍距离-display:inline; (5)padding 问题,padding在FF和IE中对div实际的宽度的影响以及如何处理w 阅读全文
posted @ 2020-04-20 15:40 武卡卡 阅读(599) 评论(0) 推荐(0) 编辑
摘要: 使用 z-index 前 , 需要将元素 定位设置为 position : relative . 阅读全文
posted @ 2020-04-18 16:51 武卡卡 阅读(246) 评论(0) 推荐(0) 编辑
摘要: img { width: 100%; height: 300px; object-fit: cover; object-position: top center; } 阅读全文
posted @ 2020-04-18 13:12 武卡卡 阅读(252) 评论(0) 推荐(0) 编辑
摘要: img { width: 100vw; height: 100vh; object-fit: cover; } 阅读全文
posted @ 2020-04-16 22:20 武卡卡 阅读(691) 评论(0) 推荐(0) 编辑
摘要: 安装 Prettier - Code formatter prettier安装完毕,使用shift+alt+f就可格式化代码。 如果需要自动保存,要在系统设置中增加"editor.formatOnSave": true即可自动保存, 但是如果同时设置了"files.autoSave": "autoS 阅读全文
posted @ 2020-04-16 07:04 武卡卡 阅读(8527) 评论(0) 推荐(6) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 39 下一页