Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design

Colin Lewis
Colin Lewis
9,021 Points

Sine wave nav bar

I am trying to make a nav bar follow a simple sine wave, any ideas? I would like the links to retain the ability to do a transform when I hover over them and it has to work in wordpress.

1 Answer

CJ Williams
CJ Williams
34,372 Points

In Illustrator you can generate a sine wave using this script Sine Curve from Hiroyuki Sato. Then You could repeat it on the x-axis using css.

If looking to do this with pure CSS, maybe start here CSS Sine Waves on Gist.

hope this helps