码迷,mamicode.com
首页 >  
搜索关键字:top    ( 21129个结果
可以替代浮动的inline-block
浮动有个缺点:脱离了原来的文档流,导致父容器无高度。使用inline-block不会脱离文档流,且无忘记清空浮动的困扰 并排的div都设置position:inline-block,vertical-align:top...
分类:其他好文   时间:2015-07-09 22:42:27    阅读次数:167
常用html标签
text-transform:uppercase 首字母大写letter-spacing 字母间距word-spacing 单词间距(如果是中文 设置的是空格间距)line-height 设置行高text-align left,right,center 水平vertical-align top,mi...
分类:Web程序   时间:2015-07-09 21:14:02    阅读次数:149
LeetCode Climbing Stairs
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他好文   时间:2015-07-09 21:05:03    阅读次数:115
移动端 页面切换方案
//css.onpage {position:fixed;position:absolute; left:0; top:0; width:100%; height:100%; background:#fff; z-index:10000; -webkit-transform: translate3d...
分类:移动开发   时间:2015-07-09 19:35:42    阅读次数:240
JVM值内存垃圾回收监控之jstat
如何判断JVM垃圾回收是否正常?一般的top指令基本上满足不了这样的需求,因为它主要监控的是总体的系统资源,很难定位到java应用程序。 Jstat是JDK自带的一个轻量级小工具。全称“Java Virtual Machine statistics monitoring tool”,它位于java的...
分类:Web程序   时间:2015-07-09 17:49:21    阅读次数:135
Linux-top命令详解
Linux-top命令详解作者:Danbo时间:2015-7-9统计信息区第一行:队伍队列信息,同uptime命令的执行结果23:32:15 - 表示系统时间up 42 min -系统已经运行了42分钟了1user-当前有一个用户登录系统load average: 0.01, 0.00, 0.00-...
分类:系统相关   时间:2015-07-09 17:48:34    阅读次数:202
花点时间搞清top、clientTop、scrollTop、offsetTop
【转贴】花点时间搞清top、clientTop、scrollTop、offsetTopscrollHeight: 获取对象的滚动高度。scrollLeft:设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距离scrollTop:设置或获取位于对象最顶端和窗口中可见内容的最顶端之间的距离sc...
分类:其他好文   时间:2015-07-09 17:30:28    阅读次数:135
LeetCode225 Implemet Stack using Queues Java题解
题目: Implement the following operations of a stack using queues. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get the top element.empty() -- Re...
分类:编程语言   时间:2015-07-09 14:41:27    阅读次数:135
查看系统资源(iostat,top,vmstat,mpstat)
维护服务器的时候,要经常查看系统资源的,可以了解一下服务器的运行情况。系统优化时,比如使用memcache时,我要决定分配多少内存给他合适呢,mysql的innodb的参数优化也要考虑到内存使用率,i/o的频繁程度啊,如果使用apache的话,要启动多少个httpd比较合适呢,如果数据库的..
分类:移动开发   时间:2015-07-08 23:01:14    阅读次数:373
css3画半圆
border-radius制作半圆与制作圆形的方法是一样的,只是元素的宽度与圆角方位要配合一致,不同的宽度和高度比例,以及圆角方位,可以制作上半圆、下半圆、左半圆和右半圆效果。例如:.semicircle { margin: 30px; } .top { width: 100px;/*宽度为高度的....
分类:Web程序   时间:2015-07-08 20:54:17    阅读次数:144
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!