Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Javascript horizontal div scroll

Featured Replies

Hi , I am trying to make a div that scroll across the screen random colours like this image i have uploaded so far i can get the beackground image to do this using javascript but not divs with random colour changes.

 

Anyone that that knows any links or code help would be great thanks!

post-10111-0-35917100-1294868705_thumb.jpg

  • Author

Thanks for the link it will be help full, But what I wanted was div colour bars coming in from the left to right and each one a new colour will be random colour and then it will move across the screen and go out the right side of page with a new colour coming in behind it and repeating. like sliding colours from left to right.

 

Can do it with css background image but not div content or bg colour...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.