- 博客(3)
- 收藏
- 关注
原创 html规范
1、用正确的标签做正确的事情,杜绝html结构全部实用<div>元素来嵌套实现。2、在兼容条件下,尽量使用带有语义化结构标签。例如,html5中定义<header>、<nav>、<footer>、<section>、<article>、<aside>等标签的内容会被搜索引擎解析收录,能够提高页面内容关键字的搜索
2018-07-03 23:21:48 169
翻译 31段必须拥有的css代码
1、清除浮动的方法.clearfix:before, .clearfix:after {content:"";display:table;}.clearfix:after {clear:both;} /*IE 6/7*/.clearfix { *zoom:1;}2、跨浏览器设置透明度.transparent { filter: alpha(opacity = 50); /*I...
2018-06-12 11:08:05 188
原创 jQery小案例
1、点击切换显示隐藏$("#storage").click(function(){ $(".storage_box").toggle();}) 2、点击切换样式$(".storage_determine").addClass('storage_choice');$(".storage_determine").click(function() { ...
2018-06-08 17:37:48 103
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人