摘要:
CSS3中的过渡Transition有四个中心属性:transition-property、transition-duration、transition-delay和transition-timing1、transition-property的语法[css] transition-property... 阅读全文
posted @ 2014-05-19 10:27
BloggerSb
阅读(253)
评论(0)
推荐(0)
摘要:
transform:rotate旋转deg #box1{ -moz-transform:rotate(10deg); -webkit-transform:rotate(10deg); }transform:skew倾斜 #box2{ -mo... 阅读全文
posted @ 2014-05-19 10:20
BloggerSb
阅读(363)
评论(0)
推荐(0)
摘要:
常这样去定义一个渐变的div:渐变1:(双色)background: -moz-linear-gradient(top, #456d6c 0%, #32b66a 100%); /*适合 FF3.6+*/ background: -webkit-gradient(linear, left top, l... 阅读全文
posted @ 2014-05-19 10:14
BloggerSb
阅读(238)
评论(0)
推荐(0)
摘要:
CSS命名规范CSS样式命名整理页面结构容器: container/wrap 整体宽度:wrapper 页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column 中间内容:center导航导航:nav 导航:mainba... 阅读全文
posted @ 2014-05-19 09:46
BloggerSb
阅读(184)
评论(0)
推荐(0)
摘要:
css的img移上去边框效果: .v_comment img{ height:36px; height:36px; float:left; padding:1px; margin:2px; border: 1px solid #ddd; }.v_comment img:hover{border: 1 阅读全文
posted @ 2014-05-19 09:43
BloggerSb
阅读(567)
评论(0)
推荐(0)
摘要:
样式定义:#ContactAbout { height: auto; position: relative; overflow: hidden; }#sectioncontact { display: block; width: 100%; position: relative; height: 7... 阅读全文
posted @ 2014-05-19 09:41
BloggerSb
阅读(402)
评论(0)
推荐(0)
摘要:
/*=======================翻页样式===========================*/.pages { width: 660px; text-align: center; font-size: 14px; float: left; margin-left: 340px;... 阅读全文
posted @ 2014-05-19 09:30
BloggerSb
阅读(580)
评论(0)
推荐(0)
摘要:
一、快速查找文件 如果你使用过Sublime,那么你会知道’Go to anything’的强大。没错,Chrome现在也有了这一功能。 操作如下: 1、F12打开你的Chrome调试器; 2、按下Ctrl+P(Mac上Cmd + P); 3、搜索你想打开的文件名即可。 二、在源代码中搜索 但是,如 阅读全文
posted @ 2014-05-19 09:26
BloggerSb
阅读(271)
评论(0)
推荐(0)
摘要:
.tips:before { content: ''; border: 26px solid; border-color: #333; border-color: rgba(255,255,255,0); border-top-color: rgba(0,172,198,.8); position:... 阅读全文
posted @ 2014-05-19 09:25
BloggerSb
阅读(243)
评论(0)
推荐(0)
摘要:
/*==========限制图片大小======避免页面撑暴========*/img { max-width:100%;width:expression(width>669?"100%":width+"px");}--说明 .content img { max-width:100%;width:e... 阅读全文
posted @ 2014-05-19 09:23
BloggerSb
阅读(528)
评论(0)
推荐(0)

浙公网安备 33010602011771号