CSS/user agent stylesheet:修订间差异
来自康健生活
创建页面,内容为“== 引言 == user agent stylesheet 是浏览器自动定义的格式,相关定义可以在 [https://www.w3.org/TR/CSS21/cascade.html#cascade cascade] 中浏览。…” |
|||
| 第3行: | 第3行: | ||
在实际项目中我们一般使用 reset.css 或者 normalize.css 覆盖浏览器的默认样式 | 在实际项目中我们一般使用 reset.css 或者 normalize.css 覆盖浏览器的默认样式 | ||
== 浏览器默认样式 == | |||
* Firefox (Gecko): http://mxr.mozilla.org/mozilla-central/source/layout/style/html.css | |||
*:或者在 firefox 地址栏输入 resource://gre-resources/ -> html.css | |||
* Chrome/Safari (WebKit): [https://link.zhihu.com/?target=http%3A//trac.webkit.org/browser/trunk/Source/WebCore/css/html.css html.css in trunk/Source/WebCore/css] | |||
* Internet Explorer (Trident), all versions: [https://link.zhihu.com/?target=http%3A//www.iecss.com/ Internet Explorer UA Style Sheets] | |||