<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/create-an-infinite-horizontal-scroll-animation-with-tailwind-css-thoj6hxyd" -->

---
title: Create an Infinite Horizontal Scroll Animation with...
description: Learn how to create an infinite horizontal scroll animation using Tailwind CSS. See the HTML structure for a logo carousel and how to make the animation loop.
canonical: https://daily.dev/posts/create-an-infinite-horizontal-scroll-animation-with-tailwind-css-thoj6hxyd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Create an Infinite Horizontal Scroll Animation with Tailwind CSS | daily.dev
og:description: Learn how to create an infinite horizontal scroll animation using Tailwind CSS. See the HTML structure for a logo carousel and how to make the animation loop.
og:url: https://daily.dev/posts/create-an-infinite-horizontal-scroll-animation-with-tailwind-css-thoj6hxyd
og:image: https://api.daily.dev/og/posts/thoj6HXYd.png
og:image:alt: Create an Infinite Horizontal Scroll Animation with Tailwind CSS
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an Infinite Horizontal Scroll Animation with Tailwind CSS

**[Community Picks](https://daily.dev/sources/community)** · 6 min read · 184 upvotes · 10 comments

## Summary

Learn how to create an infinite horizontal scroll animation using Tailwind CSS. See the HTML structure for a logo carousel and how to make the animation loop.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://cruip.com/create-an-infinite-horizontal-scroll-animation-with-tailwind-css/>

## Community discussion

Top comments from developers on daily.dev.

**@robertoumbelino** · 1 upvotes

> Nice guide, thanks

**@tluszczyk** · 0 upvotes

> Does it work on Safari though?

**@danilodecanini** · 0 upvotes

> Really cool

**@ryanaltvater** · 0 upvotes

> For me, when it loops, a second instance begins to run behind the first instance. Really cool either way though!

**@omlondhe185** · 0 upvotes

> I am not undersyanding

---

Tags: [#tailwind-css](https://daily.dev/tags/tailwind-css)

[View this post on daily.dev](https://daily.dev/posts/create-an-infinite-horizontal-scroll-animation-with-tailwind-css-thoj6hxyd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Create an Infinite Horizontal Scroll Animation with Tailwind CSS","url":"https://daily.dev/posts/create-an-infinite-horizontal-scroll-animation-with-tailwind-css-thoj6hxyd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/create-an-infinite-horizontal-scroll-animation-with-tailwind-css-thoj6hxyd"},"datePublished":"2024-05-19T09:28:53.698Z","dateModified":"2024-05-19T09:28:51.516Z","description":"Learn how to create an infinite horizontal scroll animation using Tailwind CSS. See the HTML structure for a logo carousel and how to make the animation loop.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/aa751cc8a1169aa43b5529f78f9eebb3?_a=AQAEuiZ","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/aa751cc8a1169aa43b5529f78f9eebb3?_a=AQAEuiZ","isAccessibleForFree":true,"articleSection":"Community Picks","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Community Picks","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1655817725/logos/community","url":"https://daily.dev/sources/community"},"commentCount":10,"discussionUrl":"https://daily.dev/posts/create-an-infinite-horizontal-scroll-animation-with-tailwind-css-thoj6hxyd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":184},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":10}],"keywords":"tailwind-css","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Community Picks","item":"https://daily.dev/sources/community"},{"@type":"ListItem","position":3,"name":"Create an Infinite Horizontal Scroll Animation with Tailwind CSS"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/create-an-infinite-horizontal-scroll-animation-with-tailwind-css-thoj6hxyd","comment":[{"@type":"Comment","text":"Nice guide, thanks","datePublished":"2024-05-23T17:03:11.378Z","url":"https://daily.dev/posts/thoj6HXYd#c-oO4ie0es7","author":{"@type":"Person","name":"Roberto Umbelino","url":"https://daily.dev/robertoumbelino","image":"https://avatars.githubusercontent.com/u/17939056?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}},{"@type":"Comment","text":"Does it work on Safari though?","datePublished":"2024-05-25T17:35:38.324Z","url":"https://daily.dev/posts/thoj6HXYd#c-RXnNQas3V","author":{"@type":"Person","name":"Filip Tłuszcz","url":"https://daily.dev/tluszczyk","image":"https://lh3.googleusercontent.com/a/ACg8ocL8gY98alZbGW7hK9zhRrdEwVWx7fh9GZy_5Uv6vI3F1g=s96-c"}},{"@type":"Comment","text":"Really cool","datePublished":"2024-05-28T12:33:14.174Z","url":"https://daily.dev/posts/thoj6HXYd#c-s6ZqeSfJa","author":{"@type":"Person","name":"Danilo de Canini","url":"https://daily.dev/danilodecanini","image":"https://lh3.googleusercontent.com/a/ALm5wu3D_X5YD1fLSBqphdhD-pgMZzC1LGNEjvhdOdDAmUw=s96-c"}},{"@type":"Comment","text":"For me, when it loops, a second instance begins to run behind the first instance. Really cool either way though!","datePublished":"2024-05-30T14:07:43.820Z","url":"https://daily.dev/posts/thoj6HXYd#c-jomDn6GlQ","author":{"@type":"Person","name":"Ryan Altvater","url":"https://daily.dev/ryanaltvater","image":"https://avatars.githubusercontent.com/u/1336787?v=4"}},{"@type":"Comment","text":"I am not undersyanding","datePublished":"2024-05-31T20:21:13.436Z","url":"https://daily.dev/posts/thoj6HXYd#c-nV4vOwUfX","author":{"@type":"Person","name":"Om Londhe","url":"https://daily.dev/omlondhe185","image":"https://avatars.githubusercontent.com/u/61611599?v=4"}}]}
```

