从google字体导入显示其加载正常,并且google inspector工具显示相同,没有错误。问题是,当我启动页面时,我的h2或h3元素的font-family属性都没有更改
h2 {
margin:8px 0;
padding:8px 0;
font-size:25px;
font-weight:bold;
color:#161616;
font-family:'Oswald', sans-serif;
}
h3 {
margin:8px 0;
font-size: 24px;
font-weight:bold;
color: #161616;
padding-left:8px 0;
font-family:'Oswald', sans-serif;
}
<head>
<link href="http://fonts.googleapis.com/css?family=Oswald|Roboto" rel="stylesheet">
<title>LLC</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/cufon-titillium-900.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
</head>
<body>
<h2> Some Heading </h2>
<h3> Some More Heading </h2>
</body>