THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

W3.CSS Signs


Displaying Signs

With a little imagination, the w3-tag and w3-badge classes can be used to display all kinds of signs.


Displaying a Tag as a Sign

London Zoo

Example

<div class="w3-tag w3-orange">London Zoo</div>
Try It Yourself »

Displaying Tags in a Row

S
A
L
E

Example

<div class="w3-tag w3-red">S</div>
<div class="w3-tag w3-black" >A</div>
<div class="w3-tag w3-yellow">L</div>
<div class="w3-tag w3-black">E</div>
Try It Yourself »

Displaying Road Signs

Falcon Ridge Parkway

Example

<div class="w3-tag w3-round w3-green" style="padding:3px">
  <div class="w3-tag w3-round w3-green w3-border w3-border-white">
    Falcon Ridge Parkway
  </div>
</div>
Try It Yourself »

Displaying Large Signs

IN CASE OF
EMERGENCY
RUN LIKE HELL !

Example

<span class="w3-tag w3-xxlarge w3-padding w3-orange w3-center">
<strong>
IN CASE OF<br>
EMERGENCY<br>
RUN LIKE HELL !
</strong>
</span>
Try It Yourself »
49,99

Example

<div class="w3-tag w3-jumbo w3-green">
  <span class="w3-xxlarge">49</span>
  <span class="w3-large">,99</span>
</div>
Try It Yourself »

Displaying Rounded Signs

DO NOT
BREATHE
UNDER WATER

Example

<span class="w3-tag w3-xxlarge w3-padding w3-round-large w3-red w3-center">
DO NOT<br>
BREATHE<br>
UNDER WATER
</span>
Try It Yourself »

Displaying A Flag

Example

<div class="w3-display-container w3-white w3-border w3-card-8" style="height:200px;width:350px">
<div class="w3-display-topleft w3-container w3-red" style="width:25%;height:40%"><p></p></div>
<div class="w3-display-topright w3-container w3-red" style="width:60%;height:40%"><p></p></div>
<div class="w3-display-bottomleft w3-container w3-red" style="width:25%;height:40%"><p></p></div>
<div class="w3-display-bottomright w3-container w3-red" style="width:60%;height:40%"><p></p></div>
</div>
Try It Yourself »