![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web前端
文章平均质量分 68
ayangjing
这个作者很懒,什么都没留下…
展开
-
html5+css3中的background: -moz-linear-gradient 用法
在CSS中background: -moz-linear-gradient 让网站背景渐变的属性,目前火狐3.6以上版本和google浏览器支持这个属性。 background: -moz-linear-gradient(top, #bccfe3 0%, #d2dded 100%); 适合 FF3.6+ background: -webkit-gradient(linear, l转载 2013-03-27 13:47:04 · 1290 阅读 · 0 评论 -
angualrjs 指令之scope
默认 (scope: false) - directive使用原有作用域,所以也不存在原型继承,这种方式很简单,但也很容易出问题——除非该directive与html不存在数据绑定,否则一般情况建议使用第2条方式。scope: true - directive创建一个子作用域, 并且会从父作用域进行原型继承。 如果同一个DOM element存在多个directives要求创建子作用域,那转载 2014-03-25 11:53:00 · 751 阅读 · 0 评论 -
兼容ie8的tab选项卡
效果图: test .nav-tabs { border-bottom: 1px solid #ddd; width:900px; margin-left: 0; margin-bottom: 18px; list-style: none; } ul, ol { padding: 0; margin: 0 0 9px 25px; } .nav-tabs:after{原创 2013-11-06 23:01:24 · 2114 阅读 · 0 评论 -
我的收藏
http://developer.51cto.com/art/201205/337996.htm html5开发教程原创 2013-05-23 11:15:37 · 525 阅读 · 0 评论 -
css制作面包屑
效果图 源代码: css制作面包屑 .demo{ width:600px; margin:100px auto; background:#f0f0f0; height:32px; overflow:hidden; line-height:32px; position:relative; } .demo li{ float:left; width:200px; text-a原创 2013-10-20 14:14:07 · 627 阅读 · 0 评论 -
让IE浏览器支持HTML5标准的方法
http://www.blueidea.com/tech/web/2011/8407.asp转载 2013-10-20 16:36:13 · 399 阅读 · 0 评论 -
css导航菜单
1.纯css下拉菜单 css下拉菜单 *{ margin:0; padding:0; } #header{ background-color:#eee; height:50px; margin-top:50px; } #nav > li{ list-style:none; float:left; margin: 0px 10px; padding:10px; widt原创 2013-10-23 22:05:34 · 445 阅读 · 0 评论 -
你真的了解HTML吗
有这么一段HTML,请挑毛病: 哥写的不是HTML,是寂寞。 我说:不要迷恋哥,哥只是一个传说 这是原来雅虎一道笔试题(文字变了变),用了很多年了,还没有一个人完全答对过。 下周(3.27)交流会上我会公布答案 http://www.w3ctech.com/ ============== 解答部分 ============转载 2013-10-24 10:54:19 · 552 阅读 · 0 评论 -
css 让页面内容垂直居中
* { margin:0; padding:0; list-style:none; font-size:14px;}/*---该css reset仅用于demo,请自行换成适合您自己的css reset---*/ html { height:100%;} body { height:100%; text-align:center;} .centerDiv { display:in转载 2013-10-24 16:16:30 · 619 阅读 · 0 评论 -
以前端角度出发做好SEO需要考虑什么
网站的速度是很多人都面临的问题,其实许多网站,都没有特意的去优化加载速度,对于一个网站来说,加速不但提高了用户体验(如果一个网站在几秒内没 有打开,大多数用户选择的是关闭而非等待),而且对于SEO的流量也是有很大影响的,我们可以这样理解:网站的速度加快了,网页的加载速度就快了,这样在 同样的时间内,搜索引擎蜘蛛抓取的页面也就多了,从而增加了收录、最终流量增长了。可见,网站的速度是影响SEO流量转载 2013-10-24 13:33:27 · 3676 阅读 · 0 评论 -
创建简单有用的CSS Sprites
css sprite .sprite {background:url(mySprite.png);} .monster {height:128px;} .application {height:61px;} /* Monsters */ .doctor {width:103px; background-position:-2px -2px;} .octopus {width:89px;原创 2013-10-24 12:30:21 · 397 阅读 · 0 评论 -
css body背景图全屏
css body背景图全屏,不论分辨率大小。在body里嵌套一个img元素,控制这个img 的z-index为-1即可。原创 2013-09-05 13:39:45 · 2268 阅读 · 1 评论 -
使用HTML5/CSS3快速制作便签贴特效
原文链接:http://www.html5china.com/course/20120517_3706.html 效果图: 在firefox22.0下显示的效果,字体手写字体没有应用上 代码: html5 *{ margin:0; padding:0; } body{ font-family: arial,sans-serif; font-size:100%; marg转载 2013-07-13 14:42:39 · 1143 阅读 · 0 评论 -
ionic 环境搭建
1.安装jdk,并配置java环境变量 2.原创 2014-07-09 00:26:59 · 1152 阅读 · 0 评论