![](/img/trans.png)
[英]How can I change the Bootstrap default font family using font from Google?
[英]What is the default font family in HTML and how can I check this?
例如,按照簡單的 HTML 代碼在 Web 瀏覽器中顯示“堆棧溢出”。 我的問題是什么是默認字體系列,我該如何檢查? (有什么具體的方法可以檢查嗎?)
<body>
Stack Overflow
</body>
以下是默認 Web 瀏覽器字體的概述: http : //www.granneman.com/webdev/coding/css/fonts-and-formatting/web-browser-font-defaults/
您還可以下載瀏覽器插件來選擇一些文本並獲取字體名稱(例如 Firefox 的 Font Finder)
每個瀏覽器都有一個默認樣式表,例如 Chrome 中的這個:
https://chromium.googlesource.com/chromium/blink/+/master/Source/core/css/html.css
或者,只需檢查元素,然后查看計算選項卡。
在我使用的瀏覽器(Chrome、Opera、Firefox)中,默認字體是:標准字體:Times New Roman、Serif 字體:Times New Roman、Sans-serif 字體:Arial、等寬或固定寬度:Consolas(Firefox:Courier New)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.