Bulletproof Rounded Corners with Border Radius
I was rather pleased to see that not only does the latest version of Opera (the 10.5 pre-alpha) support border-radius but they made the smart move and didn’t prefix it with a vendor specific property -o- like Gecko (-moz-) and Webkit (-webkit-) do.
If you have not already been writing your border-radius statements with progressive enhancement in mind, now is most definitely the time to do it:
.box {-khtml-border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;}- Download this code: /code/border-radius.txt
The latest Opera pre-alpha includes a whole host of new properties from the W3C’s CSS3 Backgrounds and Borders spec including background-clip, background-origin, border-radius, Multiple background images, background-attachment, box-shadow & border-image. This version also includes the ability to add CSS3 transitions and 2D transforms for richer user interfaces.
My delighters.css stylesheet now includes the Opera specific transitions and animations. Thumbs up to Opera.