Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

你会如何解决特定浏览器的样式问题? #50

Open
@mozai126

Description

IE条件注释:在IE9以及IE9以下可用
CSSHack:利用不同浏览器的Bug来达到识别浏览器的目的
使老的浏览器能够支持HTML5:html5shiv.js IE6-9支持html5标签;respond.js IE6-8支持媒体查询
CSS RESET 暴力去除所有样式,* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
a {
text-decoration: none;
}
ul,ol {
list-style: none; }

CSSNOMALIZE 标准化
作用与CSS reset不同,保留元素有用的默认值
标准化各种元素的样式
更正bug,让浏览器保持一致
其他细微的修改提高可用性
源码:https://github.com/necolas/normalize.css/blob/mas
题目来自饥人谷

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /