Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make an angled tab interface with just jquery and css3?

Tags:

jquery

css

tabs

This is my goal. Angled tabs with transparency on top of the other. How would i build this without using jpgs or pngs, but only css?

alt text

like image 666
WillingLearner Avatar asked Nov 05 '22 05:11

WillingLearner


1 Answers

This tuts will get you going but I'll try to mockup something in a minute!

http://www.howtocreate.co.uk/tutorials/css/slopes

http://net.tutsplus.com/articles/news/fun-with-css-shapes/

BTW great question!

Edit:

Here is the "final" result:

alt text

See it here!

NOTE:

Just be aware that this is a "hack" and that it might not be the best idea to actually implement it, I think (can't try it now) IE has some issues with this, if you asked about usability and accessibility, I would say go with images :)

like image 117
Trufa Avatar answered Nov 11 '22 04:11

Trufa