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.

Multiple Background Images problem

Featured Replies

I've run into an issue with multiple background images. When I turn off the second background-image, the first background-image is shown, or vise versa, how come I can't have multiple background-images successfully, what is going wrong ?

#element {

position:relative;

background-image:url() // FIRST / TOP

background-image:url() // SECOND / BOTTOM

background-repeat:no-repeat/repeat //etc
 

 

Not had chance to test but off the top of my head try comma separating the url's on a single property:

 

background-image: url('...'), url('..');

 

the way you wrote it one will override the other, it's aking to writing

width: 50px;

width: 100px

-- The second width will override the first.

Edited by rbrtsmith

  • Author

Not had chance to test but off the top of my head try comma separating the url's on a single property:

 

background-image: url('...'), url('..');

 

the way you wrote it one will override the other, it's aking to writing

width: 50px;

width: 100px

-- The second width will override the first.

Nope that didn't work :(

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.