Last Updated: February 25, 2016
·
485
· christopherjenkins

CSS3 Border Radius 101

I'm sure everyone knows this, but this is something that I consistently add to a lot of elements in my projects. Border Radius takes away some of the harsh edges from very important elements.

#element {
    border-radius:5px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
}

You'll want to make sure to get those browser prefixes for webkit and mozilla based browsers until the specification for CSS3 is released.