Over a million developers have joined DZone.

CSS Rounded Corners

·
// basic rounded corners for FF, Chrome, Safari not IE.
// Swiped from http://www.phpied.com/css-performance-ui-with-fewer-images/

.module {
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
  border-radius: 9px;
}

//Rounding only the top left and right corners.  The other corners should be fairly easy. 
.hd {
  -moz-border-radius: 8px 8px 0 0;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  border-radius: 8px 8px 0 0;
}


Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}