码迷,mamicode.com
首页 >  
搜索关键字:scroll    ( 2744个结果
把Atom作为Markdown的IDE
需要安装的插件有:-markdown-preview实时预览-markdown-scroll-sync同步滚动-language-markdown语言高亮-markdown-pdf转换输出-markdown-p_w_picpath-assistant图像粘贴、拖拽插入-markdown-table-editor表格编辑-markdown-toc自动生成toc注意事项:安装markdown-pdf之前,需..
分类:其他好文   时间:2017-04-12 05:20:03    阅读次数:155
css样式
框架(frameset):需把body删除 <frameset row="300px,*" frameborder=""> /*上边像素300,下边剩余(cols左右拆) <farme src="(html)" /> <frame src="(html)" scrolling="yes" /> /* ...
分类:Web程序   时间:2017-04-12 03:57:48    阅读次数:203
RecyclerView和CardView
相对其他View,这个比较复杂 1.新建一个layout文件item_list_content.xml来存放CardView 2.加入RecyclerView 3.建立一个新的Package用来存放所有的数据类,data,建立RecyclerView的数据类 4.新建一个Package用于存放控制器 ...
分类:其他好文   时间:2017-04-12 02:47:36    阅读次数:353
[tmux] Copy and paste text from a tmux session
One non-obvious, but extremely useful, feature in tmux is copy-pasting text between panes. This also allows you to scroll back in a tmux sessoin. We'l ...
分类:其他好文   时间:2017-04-10 22:38:49    阅读次数:145
scroll offset & client总结
oEvent.clientX 是指鼠标到可视区左边框的距离。oEvent.clientY 是指鼠标到可视区上边框的距离。clientWidth 是指可视区的宽度。clientHeight 是指可视区的高度。clientLeft 是指左边框的宽度。clientTop 是指上边框的宽度。 offsetW ...
分类:其他好文   时间:2017-04-09 23:41:31    阅读次数:301
iframe简单框架
<iframe width='738' height='523' class='preview-iframe' scrolling='no' frameborder='0' src='http://download.csdn.net/source/preview/8395299/4bb8aadcb6 ...
分类:其他好文   时间:2017-04-09 00:25:40    阅读次数:152
CSS鼠标效果手型效果
基本语法 cursor : auto | all-scroll | col-resize| crosshair | default | hand | move | help | no-drop | not-allowed | pointer | progress | row-resize | tex ...
分类:Web程序   时间:2017-04-08 21:16:10    阅读次数:181
JS-特效 ~ 02. 屏幕滚动事件、 DTD、scroll、顶部悬浮导航、两侧跟随广告、返回顶部小火煎
ceil 向上取整 floor 向下取整 round 四舍五入 缓动动画 7. offsetLest取值为四舍五入 8. 差值大于0的时候向上取整 9. 差值小于0的时候向下取整 筋斗云 1 <!DOCTYPE html> 2 <html> 3 <head lang="en"> 4 <meta ch ...
分类:Web程序   时间:2017-04-08 00:50:54    阅读次数:363
CSS
1、CSS是Cascading Style Sheet这个几个英文单词的缩写,翻译成中文是“层叠样式表”的意思。CSS能让网页制作者有效的定制、改善网页的效果。CSS是对HTML的补充,网页设计师曾经为无法很好的控制网页的显示效果而倍感苦恼,CSS的出现解决了这个问题。 Css实现了网页内容和页面效 ...
分类:Web程序   时间:2017-04-07 22:08:01    阅读次数:323
JS 图片滚动懒加载
基本原理 图片滚动懒加载的原理非常简单:基于<img>标签,在初次加载时,不把图片url放在src属性中,而是自定义一个属性,例如data-src。然后检测"scroll","resize"等窗体事件,判断图片是否进入了可视范围。如果进入,则将data-src的字段替换到src,此时浏览器会自动去加 ...
分类:Web程序   时间:2017-04-07 21:48:30    阅读次数:173
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!