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.

Scrolling bg, static footer with transparency

Featured Replies

Can anyone help me with the CSS needed to make a sticky footer with transparency?

 

The effect I'm after is shown here,

the main bg image scrolls down behind the footer image which uses transparency.

 

Thanks

have you tried looking at the source?

  • Author

have you tried looking at the source?

 

Yeh sorry I should have expanded a bit; I used Firebug and had a look through the html and css but can't seem to get the same effect when I try and recode it myself.

 

The footer div is like this:

 

#fairway {
width: 100%;
height: 248px;
margin: 0px auto;
background-image: url(file:///...footer.png);
background-repeat: no-repeat;
background-position: 50% 50%;
position: fixed;
bottom: 0px;

 

It's the scrolling background 'overlapping' the footer so it goes behind the transparent portion that I can't get my head around.

and you noticed the BODY has a fixed background image of the sky and then in their main.css they use a z-index of 1 against the main and header divs :)

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.