Just found out how to do beveled corners and simulate negative border radius without images, by utilizing CSS3 gradients once again. It’s amazing how many CSS problems can be solved with gradients alone. Read the text in the fiddle to find out how (or just check the code):
It also falls back to a solid color background if CSS gradients are not supported. It will work on Firefox 3.6, latest Webkit and —hopefully— Opera 11.10 (they announced that gradients support is coming). You could add a -webkit-gradient() background too, to make it work in practically all versions of Webkit currently in use, but I warn you: It’s not going to be easy and I personally refuse to spend more than 5 minutes of my time messing with that non-standard sh*t.
PS: For my twitter friends, I had already written this when the robbers came and I was about to post it. I might have been really calm, but not as much as making CSS experiments the same day I was robbed and threatened by a gun
Pingback: Some links for light reading (15/3/11) | Max Design
Pingback: CSS3 Gradient Fun: Stop Sign | Danni C. McNinch
Pingback: Powerful New CSS Techniques and Tools | redbey
Pingback: Discutons du border-radius et du css de demain. | Etudes / articles de fond
Pingback: Rounded Corners, with Borders, in Plain English | Cereal Larceny
Pingback: Powerful New CSS Techniques and Tools | Sejix Technologies Blog
Pingback: Powerful New CSS Techniques and Tools | Inspire Technologies
Pingback: CSS3 tabs with beveled corners – Red Team Design
Pingback: CSS3+jQuery制作切角的Tabs - 炫意 HTML5
Pingback: Massive Web Development Roundup | crackedhorizon
Pingback: CSS3 tabs with beveled corners | Web Help 101
Pingback: CSSだけで角をカット | ウダ2Blog
Pingback: Border radius inset or inverted rounded corners
Pingback: Everyday Achievements
Pingback: CSS3 tucked corners effect - RedTeamDesign
Pingback: CSS3 tucked corners « Kỹ Thuật Lập Trình ASP.NET
Pingback: 10+ Fresh CSS3-Only Tutorials (Look Ma, No Javascript!) | gonzoblog
Pingback: CSS3 tucked corners | IWebStuff