w3-round-small
w3-round
w3-round-large
w3-round-xlarge
w3-round-xxlarge
The w3-round-size classes add rounded corners to any HTML element:
Class | Defines |
---|---|
w3-round | Element rounded (border-radius) 4px |
w3-round-small | Element rounded (border-radius) 2px |
w3-round-medium | Element rounded (border-radius) 4px |
w3-round-large | Element rounded (border-radius) 8px |
w3-round-xlarge | Element rounded (border-radius) 16px |
w3-round-xxlarge | Element rounded (border-radius) 32px |
The w3-circle class displays content inside a circle.
<div class="w3-padding-32 w3-red w3-circle w3-center">
<h1>The w3-circle Class</h1>
</div>
Try It Yourself »
Hello
W3.CSS!
<div class="w3-padding-32 w3-green w3-circle">
<img src="img_car.jpg" class="w3-circle" style="width:75%">
</div>
Try It Yourself »
<div class="w3-padding-32 w3-green w3-circle">
<div class="w3-padding-32 w3-red w3-circle w3-center" style="width:55%">
<p class="w3-xlarge">Hello<br>W3.CSS!</p>
</div>
</div>
Try It Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!