curved top css code example
Example 1: css rounded corners
/* Set rounded corners with border-radius property */
.class {
border-radius: 4px;
}
.circle {
border-radius: 50%;
}
Example 2: css rounded corners at top only
border-radius: 10px 10px 0 0;
// top-left top-right bottom-right bottom-left.