2016年6月8日

摘要: ECMAScirpt 变量有两种不同的数据类型:基本类型,引用类型。也有其他的叫法,比如原始类型和对象类型,拥有方法的类型和不能拥有方法的类型,还可以分为可变类型和不可变类型,其实这些叫法都是依据这两种的类型特点来命名的,大家爱叫啥就叫啥吧 o(╯□╰)o 。 1.基本类型 基本的数据类型有:`un 阅读全文
posted @ 2016-06-08 12:01 起舞弄清影wy 阅读(344) 评论(1) 推荐(1) 编辑

2016年6月3日

摘要: rem 我们首先介绍下和我们熟悉的很相似的货。em 被定义为相对于当前对象内文本的字体大小。炒个栗子,如果你给body小哥设置了font-size字体大小,那么body小哥的任何子元素的1em就是等于body设置的font-size。 body { font-size: 14px; } div { 阅读全文
posted @ 2016-06-03 09:52 起舞弄清影wy 阅读(334) 评论(0) 推荐(0) 编辑

2015年9月6日

摘要: 1、display:none 显示为无 2、visibility:hidden 隐藏 3、width\height 4、透明度 opacity:0 5、left\top 6、margin负值 7、用另一个div遮盖 8、z-index负值 9、transform:sale() 缩放 10、trans 阅读全文
posted @ 2015-09-06 11:27 起舞弄清影wy 阅读(545) 评论(0) 推荐(0) 编辑

2015年8月26日

摘要: <link rel='stylesheet' media='screen and(orientation:portrait)' href='portrait.css' /> <link rel='stylesheet' media='screen and(orientation:landscape) 阅读全文
posted @ 2015-08-26 11:37 起舞弄清影wy 阅读(136) 评论(0) 推荐(0) 编辑

2015年8月12日

摘要: <meta name="format-detection" content="telephone=no"><meta name="viewport" content="width=640,target-densitydpi=device-dpi, minimum-scale=0.5,maximum- 阅读全文
posted @ 2015-08-12 14:40 起舞弄清影wy 阅读(1025) 评论(0) 推荐(0) 编辑