Classes rondes W3.CSS


w3-rond-petit

w3-tour

w3-rond-grand

w3-rond-xlarge

w3-rond-xxlarge

Les classes w3-round- size ajoutent des coins arrondis à tout élément HTML :

Classer Définit
w3-tour Élément arrondi (border-radius) 4px
w3-rond-petit Élément arrondi (bordure-rayon) 2px
w3-rond-moyen Élément arrondi (border-radius) 4px
w3-rond-grand Élément arrondi (bordure-rayon) 8px
w3-rond-xlarge Élément arrondi (bordure-rayon) 16px
w3-rond-xxlarge Élément arrondi (bordure-rayon) 32px

Exemple

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

La classe du cercle

La classe w3-circle affiche le contenu à l'intérieur d'un cercle.


Une image à l'intérieur d'un cercle

Exemple

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