---
title: "Discussion on \"The real power of CSS 💪🎨\" | Hashnode"
description: "Discussion on \"The real power of CSS 💪🎨\". 1. Image carousel in 2 lines of CSS\n.container {\n    scroll-snap-type: x mandatory;\n}\n\n.slides {\n    scroll-snap-align: start;\n}\nSee this is action here👇\nhttps://codepen.io/prathamkumar/pen/bGBOzXj\n2. Truncate text without using JavaScript😎\n.exampl..."
url: "https://hashnode.com/posts/the-real-power-of-css/604c62b037d84907f1327965"
---

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

Discussion

# [The real power of CSS 💪🎨](https://blog.prathkum.com/the-real-power-of-css?utm_source=hashnode&utm_medium=feed)

1\. Image carousel in 2 lines of CSS .container { scroll-snap-type: x mandatory; } .slides { scroll-snap-align: start; } See this is action here👇 https://codepen.io/prathamkumar/pen/bGBOzXj 2. Truncate text without using JavaScript😎 .exampl...

Mar 13, 2021 · 1 min read · blog.prathkum.com  
Updated Mar 15, 2021  
Read the article

-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#css](https://hashnode.com/tag/css)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#tricks](https://hashnode.com/tag/tricks)

## Written by

[Pratham](https://hashnode.com/@prathkum)

@prathkum · India

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

I'm a Front-end developer. I have a passion for web development and love❤️ to create websites for web and mobile devices.

Let's build cool stuff together

## Responses 2

Markdown supported · ⌘↵ to post

[Enes Efe](https://hashnode.com/@enesefes)

[May 22, 2021](https://hashnode.com/posts/the-real-power-of-css/604c62b037d84907f1327965/comment/60a915df20d1f45ceb7ee0d4)

informative

[Chukwuemeka Francis](https://hashnode.com/@FrancisDev001)

[Mar 13, 2021](https://hashnode.com/posts/the-real-power-of-css/604c62b037d84907f1327965/comment/604c763137d84907f1327adb)

Nice and helpful
