跨浏览器显示问题(Safari,Chrome,Firefox,iEx)

时间:2015-07-09 20:42:32

标签: css google-chrome internet-explorer firefox safari

不同浏览器中的h1不是以通用的方式呈现,我认为我会因为它而秃顶。![在此处输入图像描述] [1]看起来好像重量稍微厚一点我我很好奇如何解决这个问题。

http://i.stack.imgur.com/4xYdN.jpg

    element {
}
.carousel--home .item h1 {
    font-size: 70px;
    font-family: "Roboto",sans-serif;
    font-weight: 100;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #5E5E5F;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1;
}
h1, .h1 {
    font-size: 36px;
}
h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}
h1 {
    font-size: 2em;
    margin: 0.67em 0px;
}
* {
    box-sizing: border-box;
}
.carousel--home .item .item__text {
    text-align: center;
}
body {
    color: #5E5E5F;
    font-family: Helvetica,sans-serif;
    font-size: 16px;
    line-height: 1.42;
}
body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.42857;
    color: #333;
}
html {
    font-size: 10px;
}
html {
    font-family: sans-serif;
}

0 个答案:

没有答案
相关问题