W3.CSS 라운드 클래스


w3-round-small

w3 라운드

w3-round-large

w3-round-xlarge

w3-round-xxlarge

w3- round- size 클래스 는 모든 HTML 요소에 둥근 모서리를 추가합니다.

등급 정의
w3 라운드 둥근 요소(테두리 반경) 4px
w3-round-small 둥근 요소(테두리 반경) 2px
w3-라운드 미디엄 둥근 요소(테두리 반경) 4px
w3-round-large 둥근 요소(테두리 반경) 8px
w3-round-xlarge 둥근 요소(테두리 반경) 16px
w3-round-xxlarge 둥근 요소(테두리 반경) 32px

예시

<div class="w3-round w3-teal">w3-round</div>

서클 클래스

w3-circle 클래스는 원 안에 콘텐츠를 표시합니다 .


원 안의 이미지

예시

<img class="w3-circle" src="img_car.jpg" alt="Car">


Text Inside a Circle

Text inside a circle

Example

<div class="w3-padding-32 w3-red w3-circle w3-center">
  <h1>The w3-circle Class</h1>
</div>

A Circle Inside a Circle

Hello
W3.CSS!

Example 1

<div class="w3-padding-32 w3-green w3-circle">
  <img src="img_car.jpg" class="w3-circle" style="width:75%">
</div>

Example 2

<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>