vuetify.js - 如何在 vue 中使用字体粗细?
问题描述
我已经安装了 vuetify 并使用了它的font-weight-
类
下面是我的代码:
<template>
<v-app>
<p class="font-weight-black">Black text.</p>
<p class="font-weight-bold">Bold text.</p>
<p class="font-weight-medium">Medium weight text.</p>
<p class="font-weight-regular">Normal weight text.</p>
<p class="font-weight-light">Light weight text.</p>
<p class="font-weight-thin">Thin weight text.</p>
<p class="font-italic">Italic text.</p>
</v-app>
</template>
我的问题是,与vuetify font-weight的示例相比,为什么medium、normal、light和thin都是相同的 font-weight (见下图)。有人知道如何解决这个问题吗?
解决方案
推荐阅读
- asp.net - 什么是 ASP 中的字段模板
- javascript - 自定义元素:属性不会更新组件状态
- php - 数据表未显示基于过滤的正确记录
- linux - 在bash中按字段比较文件
- intellij-idea - 无法使用 JDK-11 在 IntelliJ IDEA 上运行我的 JavaFX 项目
- batch-file - 批量重命名文件,包括完整的父目录结构
- mysql - 通过删除不需要的 html 标签缩小文本字段后,数据库表 (MySQL) 仍然为 20GiB
- sql - 如何按字段过滤包含另一个字段
- android - 如何将文件映射上传到php服务器
- javascript - 如何分别从数组中获取项目