@font-face {
font-family: 'Electronic';
src: url('@/assets/fonts/FX-LED.ttf') format('truetype');
}
.title {
font-family: 'Electronic';
font-size: 1.5em;
}
css使用font-family自定义字体
于 2023-11-26 16:08:53 首次发布
@font-face {
font-family: 'Electronic';
src: url('@/assets/fonts/FX-LED.ttf') format('truetype');
}
.title {
font-family: 'Electronic';
font-size: 1.5em;
}