Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

How to pull off the transparent-to-fill top bar effect? #351

Closed
jdfweb opened this issue May 26, 2015 · 1 comment
Closed

How to pull off the transparent-to-fill top bar effect? #351

jdfweb opened this issue May 26, 2015 · 1 comment

Comments

@jdfweb
Copy link

jdfweb commented May 26, 2015

Hello!

Just wondering how I could pull off this effect on the FoundationPress theme, live link: https://ironsummitmedia.github.io/startbootstrap-grayscale/

The above is a Bootstrap html template - however I'd love to pull this off in Foundation. How would I go about doing this? Basically transparent navigation on top of image - when you scroll down, the navigation has a seamless transition to a filled color background.

Any help is appreciated.

@jdfweb jdfweb changed the title How to pull of the transparent-to-fill top bar effect? How to pull off the transparent-to-fill top bar effect? May 26, 2015
@ghost
Copy link

ghost commented May 27, 2015

@jdfweb, i made a quick test with techniques used in a grayscale theme you refer to.
Demo here: /removed/
This is for further development and adjustments only, not production-ready.

Basically, you can just animate the looks of .top-bar-container with css transitions, and trig those animations with a few lines of jQuery.

Can do? Need code?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants