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

How can we achieve this top-bar effect? #272

Closed
dfill opened this issue Mar 14, 2015 · 4 comments
Closed

How can we achieve this top-bar effect? #272

dfill opened this issue Mar 14, 2015 · 4 comments

Comments

@dfill
Copy link

dfill commented Mar 14, 2015

Effect here: http://weareadaptable.com/

  • No background colour, overlays the image
  • Hidden when scrolling down; when scrolled up, appears.
  • When scrolled up, has a solid background color.

Any help would be greatly appreciated!

@FlatspinZA
Copy link

Set the opacity of your top-bar background to 100%, and then use a SASS lightness directive for your text.

As for controlling the visibility of the top-bar when scrolling, you can use Waypoints

https://github.com/imakewebthings/waypoints

It has all sorts of triggers, you just need to define them.

@FlatspinZA
Copy link

Not sure, but I think you might also need this:

https://github.com/daneden/animate.css

I am getting old, the memory is bit dodgy.

@dfill
Copy link
Author

dfill commented Mar 15, 2015

Hi @FlatspinZA, thank you for your response!

Do you know specifically in _settings.scss where one would set the opacity for my top-bar background to 100%? As well how to use a SSS lightness directive for navigation text?

I will look into the waypoints and animate.css too!

@olefredrik
Copy link
Owner

Please use the official zurb foundation docs for any questions related to styling:
http://foundation.zurb.com/docs/components/topbar.html

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

3 participants