在您的设备上处理
返回工具
颜色 · 全部工具

CSS clamp 生成器

CSS clamp 生成器. 输出使用 rem 和 vw。请设置页面根字号。预览模拟所选视口宽度。

文件和输入在此浏览器内处理,无需上传或注册账户。

支持的功能

输入
选项
输出
CSS · 选项

如何使用CSS clamp 生成器

CSS clamp 生成器. 输出使用 rem 和 vw。请设置页面根字号。预览模拟所选视口宽度。

  1. 调整上方的颜色、文字或数值。
  2. 调整设置并比较预览。
  3. 复制结果或下载到设备。

CSS clamp 生成器 · 示例

输入

{
  "min": 16,
  "max": 32,
  "start": 320,
  "end": 1280,
  "root": 16,
  "viewport": 800,
  "text": "LocalKit"
}

输出

font-size: clamp(1rem, 0.66667rem + 1.66667vw, 2rem);

使用说明

文件和输入在此浏览器内处理,无需上传或注册账户。

输出使用 rem 和 vw。请设置页面根字号。预览模拟所选视口宽度。

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.

语言

代码示例、格式名称和解析器技术错误可能保留原始写法。