Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

CSS border-radius direction

CSS border-radius direction


I have a request to make these Menu items:

Top menu:

Side menu:

I started with a border-radius, but I don't know how to make the other side to be 'outer radiuses', I believe both the top and bottom menu are mainly the same idea, I'll just have to play with the sizes and directions.

I'll soon share a jsFiddle of a version I'm working on, currently I haven't manage to do anything at all.

Problem courtesy of: Shimmy


Essentially you want to use the :before and :after selectors to create a little box with a border radius in the corners you want.

There are many examples online, here are a few:

  • Making Outer Border Radius Using CSS and CSS3
  • CSS3 - Tabs with inner and outer radii - no graphics - (free for personal use - not commercial)
  • Flared Borders with CSS
Solution courtesy of: sachleen


View additional discussion.

This post first appeared on CSS3 Recipes - The Solution To All Your Style Problems, please read the originial post: here

Share the post

CSS border-radius direction


Subscribe to Css3 Recipes - The Solution To All Your Style Problems

Get updates delivered right to your inbox!

Thank you for your subscription