Module: M2-R5: Web Design & Publishing
Chapter: Ch1 Computer Intro
W3.CSS provides multiple classes to round element corners with different border-radius values.
w3-roundElement rounded with border-radius: 4px.
<div class="w3-round w3-padding w3-blue">w3-round</div>
w3-round-smallElement rounded with border-radius: 2px.
<div class="w3-round-small w3-padding w3-green">w3-round-small</div>
w3-round-mediumElement rounded with border-radius: 4px.
<div class="w3-round-medium w3-padding w3-red">w3-round-medium</div>
w3-round-largeElement rounded with border-radius: 8px.
<div class="w3-round-large w3-padding w3-orange">w3-round-large</div>
w3-round-xlargeElement rounded with border-radius: 16px.
<div class="w3-round-xlarge w3-padding w3-purple">w3-round-xlarge</div>
w3-round-xxlargeElement rounded with border-radius: 32px.
<div class="w3-round-xxlarge w3-padding w3-teal">w3-round-xxlarge</div>