会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
乐少007
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
下一页
2015年8月19日
客户端页面 背景图片 全屏 不出现滚动条
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2015-08-19 10:25 乐少007
阅读(4)
评论(0)
推荐(0)
2015年7月31日
css命名规范
摘要: 1.常用的css命名规范头:header内容:content/container尾:footer导航:nav侧边:sidebar栏目:column页面外围控制整体布局宽度:wrapper左右中:left right center登录条:loginbar标志:logo广告:banner页面主体:mai...
阅读全文
posted @ 2015-07-31 14:54 乐少007
阅读(174)
评论(0)
推荐(0)
常见ie css hack
摘要: .all IE{property:value\9;}.gte IE 8{property:value\0;}.lte IE 7{*property:value;}.IE 8/9{property:value\0;}.IE 9{property:value\9\0;}.IE 7{+property:v...
阅读全文
posted @ 2015-07-31 14:48 乐少007
阅读(194)
评论(0)
推荐(0)
标准模式 怪异模式 盒模型 doctype
摘要: 在页面顶部设置 doctype是为了统一标准浏览器有标准模式和怪异模式而这两种模式最大区别就是 盒模型的解析不同==============================图片摘自网络==========================比如IE width=100px padding=20px; 那...
阅读全文
posted @ 2015-07-31 11:24 乐少007
阅读(325)
评论(0)
推荐(0)
CSS权重
摘要: 1、行内样式,指的是html文档中定义的style行内样式包含在你的html中 对你的元素产生直接作用,比如:header2、ID选择器Id也是元素的一种标识,比如#div3、类,属性选择器和伪类选择器这一类包括各种class,属性选择器,伪类选择器比如 :hover,:focus等等。4、元素和伪...
阅读全文
posted @ 2015-07-31 09:15 乐少007
阅读(195)
评论(0)
推荐(0)
常用的 css reset,基本的base.css
摘要: @charset "utf-8";html { overflow-x: hidden; overflow-y: auto;}/*隐藏横向滚动,垂直滚动根据内容自适应(去除IE默认垂直滚动条)*/body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol...
阅读全文
posted @ 2015-07-31 08:56 乐少007
阅读(350)
评论(0)
推荐(0)
2015年7月16日
纯css提示效果 提示层
摘要: <!DOCTYPE HTML PUBLIC "-//W3C//DTD xHTML 1.0 Transitional//EN"><HTML> <HEAD> <TITLE> New Document </TITLE> <meta http-equiv="Content-Type" content="te
阅读全文
posted @ 2015-07-16 17:02 乐少007
阅读(237)
评论(0)
推荐(0)
word-break: break-word; 文本溢出
摘要: word-break: break-word;中文汉字不会溢出,英文字母会溢出这个时候添加属性word-break: break-word;即可 使得 不溢出===========================
阅读全文
posted @ 2015-07-16 16:55 乐少007
阅读(1228)
评论(0)
推荐(0)
幻灯片效果
摘要: 幻灯片效果 ========================*{margin:0;padding:0;}ul{list-style:none;} a{text-decoration:none;} a:hover{text-decoration:underline;color...
阅读全文
posted @ 2015-07-16 16:46 乐少007
阅读(158)
评论(0)
推荐(0)
ul li内的文字水平居中显示
摘要: head> 文本居中 文本居中 文本居中
阅读全文
posted @ 2015-07-16 16:43 乐少007
阅读(5815)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
下一页
公告