initial‑letter CSS Playground - Online Drop Caps
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
UD5 Toolkit
Create beautiful, fancy first-letter drop caps for your articles & blog posts. Free & Online
Once upon a time, in a land far beyond the rolling hills and misty mountains, there lived a curious writer who discovered the magical art of typography. The first letter of each chapter, grand and ornate, would draw readers into the story with an irresistible charm that no ordinary text could match.
::first-letter pseudo-element combined with float: left, adjusted font-size, and line-height to make the letter "drop" into the paragraph.
.article-intro::first-letter).
::first-letter pseudo-element is supported by all modern browsers, including Chrome, Firefox, Safari, and Edge, with full support dating back to IE9+. It's one of the most reliable CSS features. Just ensure the target element is a block-level element (like <p>) for consistent results.
::first-letter pseudo-element. For Google Fonts like Playfair Display or Lora, simply load the font via a <link> tag or @import, then reference it in the generated CSS. The generator includes popular serif and sans-serif font stacks to get you started.
font-size on smaller screens. For example: @media (max-width: 600px) { .your-class::first-letter { font-size: 3em; } }. Always test your drop cap on multiple screen sizes.
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
Style a drop cap using the initial‑letter property. Set size and sink. Modern alternative to pseudo‑element hacks.
Build a complete font‑stack for your website. Choose a primary font and get the best fallback options for different OS. Copy the CSS.
Create outlined text with the text‑stroke property. Adjust width and color. Preview and copy the CSS.
Style underlines, overlines, and strike-throughs with colors, wavy styles, and thickness. Modern CSS text‑decoration.
Paste your full CSS and HTML; automatically identify and extract the styles needed for the visible part. Reduce render‑blocking resources.
Create glowing, neon‑style text effects with multiple text‑shadows. Adjust colors and intensity. Copy the CSS.
Create seamless CSS background patterns like stripes, polka dots, checkerboard. Adjust size and colors. Copy the tiny CSS.
New CSS text‑spacing property for fine control over punctuation spacing. See the effect live. For advanced typography.
Create vertically oriented text layouts with `writing‑mode`. See the effect and copy the complete CSS. For vertical languages.
Apply the drop‑shadow() filter and compare it with box‑shadow. See how it follows the contour of transparent images. Copy code.
Create a 5‑star rating widget using only HTML and CSS. Customize colors and size. Copy the clean code.
Visually name grid areas in a table and generate grid‑template‑areas CSS. Perfect for complex layouts. Drag‑free.
Design a realistic neon sign text with multiple layers of glow. Copy the CSS and HTML. Perfect for headers.
Create a rainbow gradient text animation using pure CSS. Customize speed and colors. Copy the code for your website.
Create a customizable scrolling marquee banner. Copy the HTML and CSS. For retro web projects or fun.
Select emojis and arrange them into a seamless tiling background. Copy the CSS data‑URI or download as image.
Design a custom focus indicator with outline, offset, and box‑shadow. Preview on interactive elements. Copy the CSS.
Visually create the glassmorphism effect: background blur, transparency, and border. Copy the complete CSS. Modern UI design.
Toggle scroll‑behavior: smooth and click anchor links to see the scrolling animation. Implement modern UX.
Beautify and format your CSS stylesheets instantly. Organize, minify, or prettify CSS code for better readability. Processed securely on client-side.
Create a pure CSS countdown timer with a flipping number effect. Adjust duration and style. No JavaScript needed for display.
Paste plain text and turn it into a nested outline using indent levels or Markdown headings. Great for planning.
Define a set of colors for light and dark themes. Get the CSS custom properties snippet. Toggle live.
Detect browser support for font‑tech() and font‑format() values in @font‑face src. Check COLRv1, variable, etc.
Compare break‑all, keep‑all, and overflow‑wrap: anywhere/break‑word. Paste long words and see how they wrap.
See which fonts map to generic families (serif, sans‑serif, monospace) on different operating systems. A handy reference.
Paste your CSS and sort the properties of each rule alphabetically or by concentric groups. Keep your stylesheets consistent without a build step.
See the difference between clone and slice on inline boxes that break across lines. Useful for multi‑line headings.
Toggle OpenType features like liga, smcp, tnum, and see the text update. Support for variable fonts. Typography nerds.