在您的裝置上處理
返回工具
色彩 · 所有工具

字體大小比例

字體大小比例. 設定基準字級、比例和級數以產生 CSS 大小。

檔案與輸入在此瀏覽器內處理,不需上傳或註冊帳號。

支援功能

輸入
選項
輸出
CSS · 選項

如何使用字體大小比例

字體大小比例. 設定基準字級、比例和級數以產生 CSS 大小。

  1. 調整上方的色彩、文字或數值。
  2. 調整設定並比較預覽。
  3. 複製結果或下載到裝置。

字體大小比例 · 範例

輸入

{
  "base": 16,
  "ratio": 1.25,
  "below": 2,
  "above": 5,
  "text": "LocalKit"
}

輸出

:root {
  --text-minus-2: 10.24px;
  --text-minus-1: 12.8px;
  --text-0: 16px;
  --text-1: 20px;
  --text-2: 25px;
  --text-3: 31.25px;
  --text-4: 39.0625px;
  --text-5: 48.82813px;
}

使用說明

檔案與輸入在此瀏覽器內處理,不需上傳或註冊帳號。

預覽文字最大為 72px。匯出保留實際計算大小。

Add or Subtract DaysMove a calendar date forward or backward.AES DecryptAuthenticate and decrypt a LocalKit AES-256-GCM JSON envelope with its password.AES EncryptEncrypt UTF-8 text with AES-256-GCM and a password-derived PBKDF2-SHA-256 key. Every run uses a fresh salt and nonce.Age CalculatorCalculate completed years, months and days between a birth date and a reference date.Anagram CheckerCompare letters and numbers after Unicode normalization, ignoring spacing and case.Angle ConverterConvert angle units with selectable source and target units and precise local results.Apache Config EditorEdit Apache Config source locally with syntax colors, line numbers, find and replace, undo, file import and download. Source is not executed.Archive Contents ViewerBrowse and search file paths inside ZIP, TAR and TGZ archives. Select files to download locally.

語言

程式碼範例、格式名稱與解析器技術錯誤可能保留原始表示法。