自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 html5 polyfill

首先我们可以使用这个js库来检测浏览器支持不支持html5的一些功能:[url]http://modernizr.com/download/[/url]它会在html标签的class中加入标记,然后就可以使用例如:[code="java"]/* Simulated box shadow using borders: */.box { border-bottom:...

2012-05-01 00:11:56 218

原创 problem 浏览器低级版本不识别元素问题

如果浏览器不识别header footer article这些元素的时候,我们可以使用javascript代码来辅助实现:[code="java"] document.createElement('header'); document.createElement('footer'); document.createElement('article');[/code]...

2012-04-29 22:28:29 115

原创 section and articles

[color=red]section[/color]The section element represents a generic section of a document or application. A section, in this context, [color=red]is a thematic grouping of content, typically with a ...

2012-04-29 20:06:43 146

原创 header footer nav 标签

header footer nav标签的使用:[code="java"] XHTML Doctype h1 { margin-top: 0; color: red; } div[role="main"] { color: black; } My First Website ...

2012-04-29 01:08:16 210

原创 html5基础模板

Html5 doc type使用: 这个IE6里面也是有效的。即使浏览器不支持html5,我们还是可以使用这个。html5基础模板[code="java"] XHTML Doctype h1 { margin-top: 0; color: red; } Hi there alert("hi t...

2012-04-28 22:11:59 162

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除