---
title: "Discussion on \"Truncating text vertically at specific line number\" | Hashnode"
description: "Discussion on \"Truncating text vertically at specific line number\". While creating a card with small info which redirects to the detail somewhere else, we sometimes need to limit our information text to specific line let's say 3 or 4 and truncate the rest content vertically.\nHere -webkit-line-clamp comes into the rol..."
url: "https://hashnode.com/posts/truncating-text-vertically/628a64f9929bcf4c721d4bfc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Truncating text vertically at specific line number](https://cssinsiders.hashnode.dev/truncating-text-vertically?utm_source=hashnode&utm_medium=feed)

While creating a card with small info which redirects to the detail somewhere else, we sometimes need to limit our information text to specific line let's say 3 or 4 and truncate the rest content vertically. Here -webkit-line-clamp comes into the rol...

May 22, 2022 · 1 min read · cssinsiders.hashnode.dev  
Read the article

## Written by

[Dhananjay Kumar](https://hashnode.com/@dhananjay7)

@dhananjay7 · Gurgaon, India

  
[View profile](https://hashnode.com/@dhananjay7)

UI Developer

I am a UI developer working at a startup. I write HTML for web sites.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
