div-css
iteye_6992
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
div-css-两列高度自适应
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta2013-05-07 21:21:35 · 199 阅读 · 0 评论 -
css编写时的小细节
1、<input type='button' id='btn' /> css代码 #btn{text-indent:-9999px; *line-height:200px; *over-flow:hidden;} 注释:对于input标签的text-indent属性为负数时,ie6,7下的效果会使input本身也消失了,用line-height和over-flow可以达到相同...原创 2013-07-19 21:53:43 · 167 阅读 · 0 评论 -
三角型的常见写法及旋转
三角型的常见写法,及三角的旋转 <style>div{ margin:50px;}.triangle{ width:0; height:0; border-width:30px; border-style:solid; border-color:red blue yellow green; overflow:hidden;}.tri...2013-07-21 21:26:39 · 356 阅读 · 0 评论 -
css实现在文本溢出时,显示省略标记(...)
属性:强制换行: word-wrap:break-word; word-break:break-all; white-space:pre-wrap; 强制不换行: overflow:hidden; width:300px; white-space:nowrap; text-overflow: ellipsis; <style>* { margin: 0; paddi...2013-08-05 14:58:08 · 193 阅读 · 0 评论 -
元素半透明
<style> /*指定元素透明*/ .a{ background-color: rgba(0, 0, 0, 0.4); filter: progid:DXImageTransform.Microsoft.Gradient(startColorstr=#88000000, endColorstr=#88000000); } /*指定元素内全部内容透明*/ .b{...2013-08-28 16:52:31 · 141 阅读 · 0 评论 -
鼠标指针样式自定义控制
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta2013-09-22 11:17:13 · 1024 阅读 · 0 评论 -
IE6 select 浮层遮盖
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> &l2013-09-22 16:52:28 · 191 阅读 · 0 评论 -
文本两端对齐
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <2013-09-22 16:53:39 · 150 阅读 · 0 评论 -
常用示例
1)js //判断滚动停止demo var aa = $(window).scrollTop(); var tt; var bb = 0; $(window).bind('scroll', function(){ bb = $(window).scrollTop(); if(tt == null){ tt = setI...2014-01-02 15:20:30 · 365 阅读 · 0 评论
分享