随笔分类 -  html

html css
摘要:经过一番查找,之后在mozilla开发社区找到了:active不起作用的答案:[1] By default, Safari Mobile does not use the :active state unless there is a touchstart event handler on the ... 阅读全文

posted @ 2015-10-22 14:52 lchecho

摘要:functionbrowserRedirect(){varsUserAgent=navigator.userAgent.toLowerCase();varbIsIpad=sUserAgent.match(/ipad/i)=="ipad";varbIsIphoneOs=sUserAgent.match... 阅读全文

posted @ 2015-10-21 10:46 lchecho

摘要:inline-block标签1标签2标签3a标签本来就是内联 这样写,他出来效果就是--------标签1标签2标签3但如果你想要定义宽度,不加块状是起不来作用的,都是单单加块状(display:block),他又换行了,所以这时加display:inline-block 就起到很大作用,内联块状... 阅读全文

posted @ 2014-08-02 11:03 lchecho

摘要:wrap() 方法把每个被选元素放置在指定的 HTML 内容或元素中。语法$(selector).wrap(wrapper)参数描述wrapper必需。规定包裹被选元素的内容。可能的值:HTML 代码 - 比如 ("")新元素 - 比如 (document.createElement("div"))... 阅读全文

posted @ 2014-07-30 14:22 lchecho

摘要:z-index 属性设置元素的堆叠顺序。拥有更高堆叠顺序的元素总是会处于堆叠顺序较低的元素的前面。注释:默认值为0,元素可拥有负的 z-index 属性值。注释:Z-index 仅能在定位元素上奏效(例如 position:absolute;)。 阅读全文

posted @ 2014-07-25 13:07 lchecho

导航