0
我一直在尋找引導自定義字體問題在這裏找到我的解決方案,但它仍然不工作,所以我爲重複道歉。試圖讓'Museo Slab'進入我的頁面,但它不工作。這是我的代碼。Bootstrap自定義字體
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" type="text/css" href="css/style.css">
@font-face {
font-family: 'museo-slab';
src: url('fonts/Museo500-Regular.otf');
font-style: normal;
}
body {
font-size: 2em;
line-height: 18px;
font-family: 'museo-slab',arial,sans-serif;
line-height: 23px;
定義不工作 –
@RobertLevy它不是在我的網頁上呈現。 – Bs3kg
什麼,你只加載一個字體文件變體? http://css-tricks.com/snippets/css/using-font-face/ –