Skip to main content


Multi-line ellipsis using simple CSS

Easiest and more bulletproof way to handle multi-line truncation of strings, so I found that we can truncate string using two carefully placed CSS pseudo elements.

Here’s the full CSS. We’ll walk through the code below.

Manoj Kumar Wed, 04/06/2016 - 03:47
Ellipsis using css
Forbid Zooming in Mobile, Tablet Devices

We all have cognizance about the concepts behind the Responsive Design, this makes us to just use one site across all devices like Desktop, Tablet, Smartphone and even Phablet.

sabareesh Wed, 07/03/2013 - 01:35
knackforge blog knowledge base
knackforge blog knowledge base

CSS Trick : Horizontal line behind text !

Days back I had a requirement which tested my CSS skills to the core. The requirement was as simple as this "Title text must have border, that too behind them".  A simple representation of my requirement has been shown below.,

---------------------------------------------- TITLE ----------------------------------------------

Subscribe to CSS