摘要: ::selection { background:#d3d3d3; color:#555; } ::-moz-selection { background:#d3d3d3; color:#555; } ::-webkit-selection { background:#d3d3d3; color:# 阅读全文
posted @ 2016-04-11 19:52 辣牛 阅读(268) 评论(0) 推荐(0) 编辑
摘要: http://www.xuanfengge.com/create-a-semicircle-with-css3-variant-navigation.html demo:http://tympanus.net/Tutorials/CircularNavigation/ download:http:/ 阅读全文
posted @ 2016-04-11 19:49 辣牛 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 半圆: #circle1 { width: 100px; height: 200px; background-color: #a72525; -webkit-border-radius: 100px 0px 0px 100px;} 宽度为高度的一半,相应的圆角值,right 和top或bottom 阅读全文
posted @ 2016-04-11 19:43 辣牛 阅读(2563) 评论(0) 推荐(0) 编辑
摘要: /*箭头向上*/ .arrow-up { width:0; height:0; border-left:20px solid transparent; border-right:20px solid transparent; border-bottom:20px solid #000;} /*箭头向 阅读全文
posted @ 2016-04-11 19:15 辣牛 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 伪类选择器 nth-child() 在IE6-8和FF3.0-浏览器不支持,CSS3中nth-of-type(n)(比如nth-of-type(1))这个特殊的类选择符可以样式更加个性的标题和段落等,不过,目前nth-of-type(n)只支持火狐3、opera、safari和chrome等部分浏览 阅读全文
posted @ 2016-04-11 18:54 辣牛 阅读(12021) 评论(0) 推荐(1) 编辑
摘要: by zhangxinxu from http://www.zhangxinxu.com本文地址:http://www.zhangxinxu.com/wordpress/?p=1709 一、深呼吸,直接内容 :nth-child和:nth-of-type都是CSS3中的伪类选择器,其作用近似却又不完 阅读全文
posted @ 2016-04-11 17:43 辣牛 阅读(202) 评论(0) 推荐(0) 编辑