摘要: Dog: 1 View CodeI don't know 1 View Code 阅读全文
posted @ 2016-01-01 23:21 提佰萬 阅读(529) 评论(0) 推荐(0) 编辑
摘要: 首先,选择器优先级顺序优先级逐级增加的选择器列表:通用选择器(*)元素(类型)选择器类选择器属性选择器伪类ID 选择器内联样式!important规则例外,该样式声明会覆盖CSS中任何其他的声明。一些经验法则:Never 永远不要在全站范围的 css 上使用 !importantOnly 只在需要覆... 阅读全文
posted @ 2016-01-01 22:29 提佰萬 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 替换元素和不可替换元素1> 替换元素替换元素就是浏览器根据元素的标签和属性,来决定元素的具体显示内容,在其显示中生成了框。HTML中的、、、、都是替换元素。这些元素往往没有实际的内容,即是一个空元素。Example:#1 浏览器根据标签的src属性的值来读取图片信息并显示出来,而如果查看HTML代码... 阅读全文
posted @ 2016-01-01 20:23 提佰萬 阅读(973) 评论(0) 推荐(0) 编辑
摘要: Some examples1> Input width animationSearch: Code 1 2 3 4 14 15 16 Search: 17 18 View Code2> Shadow EffectShadow Button Shadow on HoverCode 1 2 3... 阅读全文
posted @ 2016-01-01 18:09 提佰萬 阅读(257) 评论(0) 推荐(0) 编辑
摘要: CSS3 2D Transforms Methodstranslate()rotate()scale()skewX()skewY()matrix()1> translate()The translate() method moves an element from its current posit... 阅读全文
posted @ 2016-01-01 14:58 提佰萬 阅读(231) 评论(0) 推荐(0) 编辑
摘要: CSS3 Shadow Effectstext-shadowbox-shadow1> text-shadowThe text-shadow property adds shadow to text.This property accepts a comma-separated list of sha... 阅读全文
posted @ 2016-01-01 13:37 提佰萬 阅读(197) 评论(0) 推荐(0) 编辑
摘要: CSS3 GradientsTwo types of gradients:Linear Gradients (goes down/up/left/right/diagonally)Radial Gradients (defined by their center)Linear Gradientssy... 阅读全文
posted @ 2016-01-01 12:28 提佰萬 阅读(268) 评论(0) 推荐(0) 编辑