Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

CSS

CSS border-radius properties

Notes:

CSS Border Radius Properties

CSS border-top-left-radius property:
It is used to specify the border top left radius for an html element
Value: length

CSS border-top-right-radius property:
It is used to specify the border top right radius for an html element
Value: length

CSS border-bottom-right-radius property:
It is used to specify the border bottom right radius for an html element
Value: length

CSS border-bottom-left-radius property:
It is used to specify the border bottom left radius for an html element
Value: length

CSS border- radius short hand property:
It is used to specify the border radius for an html element
Value: Space separated list of values (4, 2, and 1)

4: top-left top-right bottom-right bottom-left
2: top-left & bottom-right top-right & bottom-left
1: top-left & top-right & bottom-right & bottom-left

Interview Questions:

1. Which CSS property is used to display rounded corners around an HTML element?
a. border-corner
b. corner-border
c. border-style
d. border-radius
Answer: d