Skip to main content
CSS-Tricks
  • Articles
  • Notes
  • Links
  • Guides
  • Almanac
  • Picks
  • Shuffle
Search

Articles Tagged
text

8 Articles
{
,

}
Direct link to the article ::target-text
text

::target-text

The ::target-text pseudo-element selects a text fragment, usually the ones created by search engines.
Sunkanmi Fafowora on Jul 1, 2025
Direct link to the article text-box-edge
layout text

text-box-edge

The text-box-edge property let us trim the whitespace around text content. It’s used alongside the text-box-trim property to pick whether to remove whitespace above and/or below text.…

Juan Diego Rodríguez on Jun 25, 2025
Direct link to the article text-wrap-mode
text

text-wrap-mode

The text-wrap-mode property lets us control whether text should wrap into new lines or stay (and possibly overflow) on the same line. It is a constituent property for both the white-space and text-wrap shorthand properties.…

Juan Diego Rodríguez on May 20, 2025
Direct link to the article text-wrap-style
text typography

text-wrap-style

The text-wrap-style property lets us control how text lines should wrap.
Juan Diego Rodríguez on May 20, 2025
Direct link to the article Your CSS reset needs text-size-adjust (probably)
font-size safari text text-size-adjust

Your CSS reset needs text-size-adjust (probably)

Kilian Valkhof:

[…] Mobile Safari increases the default font-size when you switch a website from portrait to landscape. On phones that is, it doesn’t do it on iPad. Safari has been doing this for a long time, as a

…
Chris Coyier on Feb 11, 2022
Direct link to the article The Contrast Triangle
accessibility high-contrast links text underlines

The Contrast Triangle

Chip Cullen:

Let’s say you’re building a site, and you’re working with a designer. They come to you with some solid designs, and you’re ready to go. You’re also a conscientious front end developer and you like to make

…
Chris Coyier on Apr 20, 2020
Direct link to the article Methods for Contrasting Text Against Backgrounds
accessibility background css mix blend modes text

Methods for Contrasting Text Against Backgrounds

It started with seeing a recent Pen of Mandy Michael’s text effects demos. I’m a very visual creature, so the first thing I noticed was the effect, not the title (which clearly states how the effect was achieved). Instantly, …

Ana Tudor on May 9, 2017
Direct link to the article Comic Book FX Lettering with SVG Filters
comics SVG text

Comic Book FX Lettering with SVG Filters

Much has been written about how SVG filters can be used to style images or manipulate shapes or even make crazy animations.

But I haven’t seen much about how SVG filters can be used to style text recently. Thankfully, …

Robin Rendle on Mar 18, 2016

CSS-Tricks is powered by DigitalOcean.

Keep up to date on web dev

with our hand-crafted newsletter

DigitalOcean
  • About DO
  • Cloudways
  • Legal stuff
  • Get free credit!
CSS-Tricks
  • Contact
  • Write for CSS-Tricks!
  • Advertise with us
Social
  • RSS Feeds
  • CodePen
  • Mastodon
  • Bluesky
Back to Top