Chrome 的 hack 写法以及 CSS hack表

PHPABC CSS 1,887 次浏览 , 没有评论

“Google Chrome,” a browser based on the Webkit engine used by Safari, was released today. Chrome uses AppleWebKit/525.13. Safari 3.1 uses a slightly newer version: AppleWebKit/525.18. Below are the various CSS selectors, including CSS3 selectors, and current browser support.

Green / √ means current support.
orange / Δ means that the browsers have some support for the selector.
Red / Χ means that the browser is non-compliant.
See also: CSS Hack for Google Chrome and Safari 3.1

Chrome hack写法示例:

body:nth-of-type(1) p { color: #333333; }


您的电子邮箱地址不会被公开。 必填项已用*标注