会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
luoluo8
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
2016年5月26日
网页标题加图片
摘要: 加上这句话就可以<link rel="shortcut icon" href="http://www.zhangxinxu.com/zxx_ico.png" />
阅读全文
posted @ 2016-05-26 10:30 luoluo8
阅读(143)
评论(0)
推荐(0)
2016年4月17日
css box-sizing以及calc()
摘要: css3 box-sizing属性 box-sizing属性可以为三个值之一:content-box(default),border-box,padding-box。 content-box,border和padding不计算入width之内 padding-box,padding计算入width内
阅读全文
posted @ 2016-04-17 17:50 luoluo8
阅读(193)
评论(0)
推荐(0)
2016年4月12日
css中“+”是什么意思
摘要: 学习bootstrap看到“+”,就研究了一下 <p id="x"><p><p></p>#x + p 就是选择第二个P,#x + p{}就是#x的下一个p元素添加样式。 不过ie6不认得的,所以这个东西不使用的
阅读全文
posted @ 2016-04-12 10:03 luoluo8
阅读(2261)
评论(0)
推荐(1)
2016年4月6日
伪元素清除浮动及原理
摘要: .clearfix:after {content:"."; display:block; height:0; visibility:hidden; clear:both; } .clearfix { *zoom:1; } 1) display:block 使生成的元素以块级元素显示,占满剩余空间;
阅读全文
posted @ 2016-04-06 17:34 luoluo8
阅读(2473)
评论(0)
推荐(0)
2016年3月9日
ecshop商城系统
该文被密码保护。
阅读全文
posted @ 2016-03-09 09:36 luoluo8
阅读(3)
评论(0)
推荐(0)
html判断IE版本
摘要: 1. <!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]--> 2. <!--[if IE]> 所有的IE可识别 <![endif]--> 3. <!--[if IE 5.0]> 只有IE5.0可以识别 <![endif]--> 4. <!--[if IE 5]> 仅
阅读全文
posted @ 2016-03-09 09:19 luoluo8
阅读(244)
评论(0)
推荐(0)
Css使背景透明内容不透明得方法
摘要: 以前是这样实现背景透明内容不透明的:将背景与内容分别放在两个DIV中,然后使背景DIV透明,最终达到背景透明内容不透明的效果(挺麻烦的),背景透明使用的样式是{opacity:0.5;filter:alpha(opacity=50);}。 最近才发现,原来还有更好的方法。 支持CSS3的浏览器我们可
阅读全文
posted @ 2016-03-09 09:17 luoluo8
阅读(496)
评论(0)
推荐(0)
2016年3月8日
纯css实现close - ×
摘要: .close{position: relative;display: inline-block;width: 0.14rem;height: 0.14rem;overflow: hidden;}.close::before{-webkit-transform: rotate(45deg);trans
阅读全文
posted @ 2016-03-08 11:12 luoluo8
阅读(771)
评论(0)
推荐(0)
2016年2月18日
文字多行缩进 css 兼容浏览器
摘要: overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; display: -moz-box; -moz-line-cla
阅读全文
posted @ 2016-02-18 10:39 luoluo8
阅读(369)
评论(0)
推荐(0)
2016年2月2日
百度页面新鲜样式记录
摘要: 1.text-transform 属性控制文本的大小写。 text-transform:none 默认。定义带有小写字母和大写字母的标准的文本。 text-transform:capitalize 文本中的每个单词以大写字母开头。 text-transform:uppercase 定义仅有大写字母。
阅读全文
posted @ 2016-02-02 14:18 luoluo8
阅读(161)
评论(0)
推荐(0)
上一页
1
2
公告