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

Create outlined and stroked text effects with live preview and ready-to-copy CSS code.

Ad Space

Controls

Ad Space

Preview

Generated CSS


      
    

How It Works

  1. Enter your text: Type the text you want to preview with a stroke effect.
  2. Adjust stroke settings: Set stroke width (in pixels), stroke color, text color, font size, and font family.
  3. Copy the CSS: The generated -webkit-text-stroke and text-stroke CSS properties appear ready to copy into your stylesheet.

Why Use CSS Text Stroke Generator?

CSS text stroke adds an outline around letterforms — a popular design technique for headings, logos, and display text where you want outlined or hollow letters. Building the correct CSS syntax by hand requires knowing the -webkit prefix, unit values, and color formats. This generator lets you preview the effect visually and outputs production-ready CSS code instantly.

Features

Frequently Asked Questions

Is CSS text-stroke supported in all browsers?

-webkit-text-stroke has broad support in modern browsers including Chrome, Firefox, Safari, and Edge. It remains vendor-prefixed in some contexts. Always test your target browsers and provide a fallback text-shadow if needed.

How do I make hollow outlined text?

Set the text color to transparent and add a stroke color. This creates hollow/outlined text where only the stroke is visible. Use -webkit-text-fill-color: transparent; combined with -webkit-text-stroke.

Can I use text-stroke on any font?

Yes, text-stroke works on any font. The effect is most dramatic on thick, bold fonts. Thin fonts may show the stroke overlapping the letterform at larger widths.

Related Tools

Text Gradient Glitch Text CSS Animation Generator Text Shadow