Bobby80 Posted December 15, 2021 Share Posted December 15, 2021 Hello! Based on the linked CodePen, how would I go about making the header background color transparent when at the top of the page? I appreciate any help that can be provided. See the Pen qBawMGb by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted December 15, 2021 Share Posted December 15, 2021 You mean like this?: See the Pen JjrWJNK?editors=0010 by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Bobby80 Posted December 15, 2021 Author Share Posted December 15, 2021 @GreenSock Sorry, I should have been more specific. Initial state on page load would be transparent background, after scroll black background, then when returning to the top of the page it would become transparent again. Thanks for your help. Link to comment Share on other sites More sharing options...
GreenSock Posted December 16, 2021 Share Posted December 16, 2021 Not sure what "black background" is, but here's the reversed effect: See the Pen vYexdeN?editors=1010 by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
lagalga Posted April 30 Share Posted April 30 Maybe is it that, but black instead of red? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now