The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I’ve created a codepen:
I’m having trouble getting the gradient to be fixed along with the background image. The gradient is applied with a pseudo element. I’m using:
But it doesn’t seem to be working. Any ideas?
Make the pseudo element **position:fixed** as well instead of absolute.
Removing **background-attachment** doesn’t seem to do any harm but I only checked in Chrome.
ah nice! thanks.
I checked in FF and it works, but that gradient is kinda whack. It’s really small. Any ideas?
No, I’m not that great with gradients…
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed