Skip to content
Daan.dev
  • WordPress PluginsExpand
    • OMGF
    • OMGF Pro
    • OMGF Additional Fonts
    • CAOS
    • CAOS Pro
    • Brevo for EDD
    • Moneybird for EDD
    • WP Help Scout Docs
  • Blog
  • SupportExpand
    • Documentation
    • Priority Support
  • AboutExpand
    • Privacy Policy
    • Terms & Conditions
  • Contact
  • 0
Daan.dev
  • Line Clamping: A Clean CSS Text-Overflow Alternative with PHP
    PHP

    Line Clamping: A Clean CSS Text-Overflow Alternative with PHP

    13 May 20163 March 2022 Last updated on3 March 2022

    Text-overflow: ellipsis. In human language: gracefully cut off any text and replace it with ‘…’ when there’s no more space left for text. An absolutely beautiful CSS property, don’t you think? Think again. This only works on the first and only line of text within a text block. It removes everything after that. Not Cool,…

    Keep reading Line Clamping: A Clean CSS Text-Overflow Alternative with PHPContinue

Daan van den Bergh is the CEO, CTO, CFO, CMO, CHRO and MOFO at Daan.dev. Besides this complicated relationship with his company, he's a married father of 3 human and 2 feline children. He loves craft beer, a good steak and Italian ice cream. Preferably, in that order, and on a sunny day.

My Plugins

  • OMGF Pro
  • OMGF Additional Fonts
  • Moneybird for EDD
  • WP Help Scout Docs
  • Brevo for EDD
  • CAOS Pro

Navigation

  • WordPress Plugins
  • Blog
  • About

Support

  • Account
  • Documentation
  • Get Support
  • Affiliates
  • Privacy Policy
  • Terms & Conditions

 


© 2026 Daan.dev • Privacy Policy | Terms & Conditions

  • WordPress Plugins
    • OMGF
    • OMGF Pro
    • OMGF Additional Fonts
    • CAOS
    • CAOS Pro
    • Brevo for EDD
    • Moneybird for EDD
    • WP Help Scout Docs
  • Blog
  • Support
    • Documentation
    • Priority Support
  • About
    • Privacy Policy
    • Terms & Conditions
  • Contact
  • Account
  • Cart
    0