上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 39 下一页
摘要: toTop() { let top = document.documentElement.scrollTop || document.body.scrollTop; // 实现滚动效果 const timeTop = setInterval(() => { document.body.scrollTop = document.documentElement.scrollTop = top -= 5 阅读全文
posted @ 2019-08-30 11:00 一半人生 阅读(1825) 评论(0) 推荐(0) 编辑
摘要: 关键字 阅读全文
posted @ 2019-08-27 17:25 一半人生 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 网页布局(layout)是 CSS 的一个重点应用。 布局的传统解决方案,基于盒状模型,依赖 display 属性 + position属性 + float属性。它对于那些特殊布局非常不方便,比如,垂直居中就不容易实现。 2009年,W3C 提出了一种新的方案 Flex 布局,可以简便、完整、响应式 阅读全文
posted @ 2019-08-27 10:44 一半人生 阅读(1208) 评论(0) 推荐(1) 编辑
摘要: 使用过渡类名(有进入及出去,适合显示隐藏,需要配合v-if) .v-enter,//进入前 .v-leave-to {//离开后 只需要入场动画 可以把v-leave-to删掉 opacity: 0; transform: translateX(150px); } .v-enter-to, .v-l 阅读全文
posted @ 2019-08-26 09:27 一半人生 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 例1(小米米官网):font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif; 例2(淘宝技术研发中心):font: 12px/1.5 Tahoma,Helvetica,Arial,'宋体',sans-serif; 例3(加网 ):fon 阅读全文
posted @ 2019-08-26 08:51 一半人生 阅读(22771) 评论(0) 推荐(1) 编辑
摘要: repo_clone $ git add "文件名" && git commit -m "提交名"git config --global credential.helper storegit clone ‘仓库地址’1.git status 查看修改状态2.git add "文件名" 添加 或者使用 阅读全文
posted @ 2019-08-23 20:16 一半人生 阅读(117) 评论(0) 推荐(0) 编辑
摘要: radio单选框样式设置 input[type=radio] { display: inline-block; vertical-align: middle; width: 20px; height: 20px; -webkit-appearance: none; background-color: 阅读全文
posted @ 2019-08-23 19:29 一半人生 阅读(1420) 评论(0) 推荐(0) 编辑
摘要: Vue作为前端三大框架之一截至到目前在github上以收获44,873颗星,足以说明其以悄然成为主流。16年10月Vue发布了2.x版本,经过了一段时间的摸索和看官方的教程和api,才了解到2.0版本在1.0版本的基础上做了好多调整,废弃了好多api。。。废话不多说了,把我踩过的坑,在这里跟大家说说 阅读全文
posted @ 2019-08-23 15:11 一半人生 阅读(152) 评论(0) 推荐(0) 编辑
摘要: found 2504 vulnerabilities (1360 low, 1109 moderate, 29 high, 6 critical) run `npm audit fix` to fix them, or `npm audit` for details然后C:\WINDOWS\syst 阅读全文
posted @ 2019-08-23 14:51 一半人生 阅读(3642) 评论(0) 推荐(0) 编辑
摘要: mysql驱动包和源码下载地址:https://mvnrepository.com/artifact/mysql/mysql-connector-java 下载 mysql-connector-java-5.1.38.zip即可。 mysql驱动包和源码下载地址:https://mvnreposit 阅读全文
posted @ 2019-08-23 11:51 一半人生 阅读(263) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 39 下一页