O'Reilly logo

HTML5 and CSS3: Visual QuickStart Guide, Seventh Edition by Bruce Hyslop, Elizabeth Castro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rounding the Corners of Elements

Using CSS3, you can round the corners of most elements, including form elements, images, and even paragraphs of text, without needing additional markup or images (Image and Image). Like the margin and padding properties, the border-radius property has both long- and short-form syntaxes. Refer to Image for some basic examples showing different ways you can use the border-radius property.

This document contains example divs with

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required