studiodv Posted February 19, 2020 Share Posted February 19, 2020 (edited) Hi, I was wondering how I could 'copy' the way w3 schools website menu from scrolling up and disappearing? I am using w3css for my projects. I was wondering if the feature I mentioned can be done using w3css. Thanks, Ben Edited February 19, 2020 by studiodv Link to comment Share on other sites More sharing options...
Ingolme Posted February 19, 2020 Share Posted February 19, 2020 It's not built into W3.CSS, but you can use position: sticky in your CSS to keep things attached to the top of the window. Link to comment Share on other sites More sharing options...
dsonesuk Posted February 20, 2020 Share Posted February 20, 2020 https://www.w3schools.com/w3css/tryit.asp?filename=tryw3css_navbar_fixed_top Link to comment Share on other sites More sharing options...
studiodv Posted February 22, 2020 Author Share Posted February 22, 2020 Thanks for the replies. I think what I'm looking for is found in this link Link to comment Share on other sites More sharing options...
dsonesuk Posted February 22, 2020 Share Posted February 22, 2020 (edited) Which is amazingly, what my link does! And get this! IS w3css as well. Edited February 22, 2020 by dsonesuk 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