/Snippets (5)

Posts tagged with "Snippets"

Blogs tagged with Snippets

Create Responsive images using only css

By adding `100%` max-width and adding `auto` height we can make image resize automatically according to the width of the device....

Read

Jan 29, 2024

Creating Gradient text only using CSS

To create gradient text using only css we can use `background-clip` property in css....

Read

Jan 31, 2024

Creating sections inside html select tag

To create section inside `select` tag we can use `hr` tag in between options....

Read

Jan 30, 2024

Hide overflowing text with trails (...)

We can use `text-overflow: ellipsis` to hide any overflowing text...

Read

Jan 29, 2024

Snapping sections on scroll only using CSS

By using CSS `scroll-snap-type` and `scroll-snap-align` properties we can create snapping sections on scroll....

Read

Jan 30, 2024