Home | Computer Science

<
CSS Border Radius

Defination

The border-radius CSS property rounds the corners of an element's outer border edge.


Border Radius Syntax of Border Radius is
h1 {
border-radius: ;
}
It can be apply on any thhing for e.g.
Program
INPUT

<html> <head> <style> p.round2 { border: 2px solid red; border-radius: 8px; padding: 5px; } </style> >/head> <body> <p>CSS BORDER RADIUS</p> </body> </html>

OUTPUT