ToolPal

CSS テキストストロークジェネレーター

-webkit-text-strokeで縁取り文字の効果を作成。透明・単色・グラデーション塗り、ドロップシャドウをライブプレビューしながら、CSSをワンクリックでコピーできます。

STROKE
-webkit-text-strokeはプレフィックス付きですが、現代のブラウザはすべて対応しています。color: transparent(またはbackground-clip: textでグラデ)と組み合わせると中抜き文字になります。24px未満の小さい文字では線が読みやすさを損なうので、線の太さは2px以下に抑えましょう。

使い方

-webkit-text-strokeで縁取り文字の効果を作成。透明・単色・グラデーション塗り、ドロップシャドウをライブプレビューしながら、CSSをワンクリックでコピーできます。

  1. 1Type the text you want to outline. Short headlines (3–10 characters) read best; the effect gets noisy on long sentences.
  2. 2Pick a font and weight. Bold weights (700–900) and display fonts like Impact or Arial Black give the cleanest stroke — thin fonts have too little room for the line to sit.
  3. 3Set the stroke width. 1–3px works for headline sizes (60–120px). Bigger strokes start to overlap and lose the open silhouette.
  4. 4Choose a fill mode. Transparent gives the classic hollow look. Solid is for two-tone (e.g. yellow letters with black outline). Gradient bleeds a fill into the open glyph — great for hero text.
  5. 5Toggle the drop shadow if the text needs to lift off a busy background. Then click Copy — the CSS goes straight into your stylesheet.

主な機能

  • Live preview at any font size, weight, and family — see exactly what your headline will look like before shipping
  • Three fill modes (transparent, solid, gradient) plus optional drop shadow — covers every common outlined-text recipe
  • Outputs both -webkit-text-stroke and text-stroke for cross-browser support
  • Works with any web font — drop the CSS variable into your design system and the effect inherits
  • Pure client-side — no server processing, no signup, no tracking

よくある質問

詳しく読む