问题
I have fonts in folder with index.html. I want to add fonts into banner. Locally works, but validator has error.. Please explain me what i doing wrong.. (I was trying use url('/col...'), url('col...')) I will very grateful if anyone help me fast..
@font-face {
font-family: 'colaborate';
src: url('./colabthi-webfont.woff') format('woff'),
url('./colabthi-webfont.ttf') format('truetype'),
url('./colabthi-webfont.svg#colaborate-thinregular') format('svg');
font-weight: normal;
font-style: normal;
}
There are 3 request errors
colabthi-webfont.woff colabthi-webfont.ttf colabthi-webfont.svg
来源:https://stackoverflow.com/questions/27555742/fonts-in-gardr-banner-validator