HTML CSS examples for CSS Widget:Font awesome
Producing a timezone icon using fontawesome
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css"> </head> <!--from w w w. j ava2 s. co m--> <body> <span class="fa-stack"> <i class="fa fa-globe fa-stack-2x"></i> <i class="fa fa-clock-o fa-stack" style="color: #ccc; text-align: right; margin-right: 0.35em; margin-top: 0.25em; right: 0; position: absolute;"></i> </span> <span class="fa-stack fa-lg"> <i class="fa fa-globe fa-stack-2x"></i> <i class="fa fa-clock-o fa-stack" style="color: #ccc; text-align: right; margin-right: 0.35em; margin-top: 0.25em; right: 0; position: absolute;"></i> </span> <span class="fa-stack fa-2x"> <i class="fa fa-globe fa-stack-2x"></i> <i class="fa fa-clock-o fa-stack" style="color: #ccc; text-align: right; margin-right: 0.35em; margin-top: 0.25em; right: 0; position: absolute;"></i> </span> <span class="fa-stack fa-3x"> <i class="fa fa-globe fa-stack-2x"></i> <i class="fa fa-clock-o fa-stack" style="color: #ccc; text-align: right; margin-right: 0.35em; margin-top: 0.25em; right: 0; position: absolute;"></i> </span> <span class="fa-stack fa-4x"> <i class="fa fa-globe fa-stack-2x"></i> <i class="fa fa-clock-o fa-stack" style="color: #ccc; text-align: right; margin-right: 0.35em; margin-top: 0.25em; right: 0; position: absolute;"></i> </span> <span class="fa-stack fa-5x"> <i class="fa fa-globe fa-stack-2x"></i> <i class="fa fa-clock-o fa-stack" style="color: #ccc; text-align: right; margin-right: 0.35em; margin-top: 0.25em; right: 0; position: absolute;"></i> </span> </body> </html>