CSSテキストストロークジェネレーター
Create outlined and stroked text effects with live preview and ready-to-copy CSS code.
Controls
Preview
Generated CSS
How It Works
- Enter your text: Type the text you want to preview with a stroke effect.
- Adjust stroke settings: Set stroke width (in pixels), stroke color, text color, font size, and font family.
- 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
- Live preview: See text stroke effects update in real time as you adjust settings.
- Stroke width control: Set any pixel width from hairline strokes to bold outlines.
- Full color support: Choose stroke and text colors with a color picker or hex input.
- Font options: Preview with different font families and sizes to match your design.
- Ready-to-use CSS: Output includes the -webkit-text-stroke property and standard equivalents.
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.