随笔 - 193  文章 - 0  评论 - 8  阅读 - 32万 
03 2017 档案
整屏滚动
摘要:1.scrollify.js 2.pullpage 第一步:在页面要引入jquery.fullPage.css、jquery.fullPage.js 第二部:给需要添加自动高度的元素添加 fp-auto-height 可以看看 http://www.smartisan.com/t1/#/overvi 阅读全文
posted @ 2017-03-24 14:54 仔仔爱学习 阅读(121) 评论(0) 推荐(0) 编辑
在固定宽度内,左右滚动,无滚动条
摘要:white-space: nowrap; overflow-x: auto;overflow-y: hidden; 阅读全文
posted @ 2017-03-24 10:47 仔仔爱学习 阅读(299) 评论(0) 推荐(0) 编辑
多行文字垂直居中
摘要:<div class="parent"> <div class="children">我是通过flex的水平垂直居中噢!<br/>我是通过flex的水平垂直居中噢!</div></div> html,body{ width: 100%; height: 200px;}.parent { displa 阅读全文
posted @ 2017-03-20 09:44 仔仔爱学习 阅读(141) 评论(0) 推荐(0) 编辑
vue
摘要:1.怎么打开vue写的项目 http://localhost:8080/#/ cmd 先 cd my-project 然后 cnpm run dev 2. 从网上下载下来的 Vue例子 需要 npm install 再 cnpm run dev 阅读全文
posted @ 2017-03-15 10:38 仔仔爱学习 阅读(127) 评论(0) 推荐(0) 编辑
vertical-align属性测试实验面板 文字 图片对齐
摘要:转自:http://www.zhangxinxu.com/study/201005/verticle-align-test-demo.html 阅读全文
posted @ 2017-03-09 11:29 仔仔爱学习 阅读(161) 评论(0) 推荐(0) 编辑
0.5px的宽度的边框
摘要:方法1: .border { position: relative;} .border:before { content: "";/* 注意这里为双引号 */ position: absolute; left:0; top:0; width: 200%; height: 200%; border:  阅读全文
posted @ 2017-03-06 14:21 仔仔爱学习 阅读(575) 评论(0) 推荐(0) 编辑
重复点击的解决方案
摘要:重复点击,多次触发的解决方案 $("").unbind('click').click(function(){}); 阅读全文
posted @ 2017-03-06 13:55 仔仔爱学习 阅读(243) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示