這是我的style.css進口字體失敗
@font-face {
font-family: 'Lato-Regular';
src: url("../../fonts/Lato-Regular.woff") format("woff"), url("../../fonts/Lato-Regular.woff2") format("woff2");
}
HTML文件
<div class="text-center" style="font-family:Lato-Regular;color:#bef4f7;margin-top:-23px;font-size:32px">
Text Example
</div>
它失敗了,把我的錯誤
我」米做錯了嗎?
您的網址()路徑似乎不正確。 – Syden