HTML CSS examples for CSS Property:font-size
Number in Circle and resize font
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> span.green {<!-- ww w. j a v a2s .c o m--> background:Chartreuse; border-radius:0.9em; -moz-border-radius:0.9em; -webkit-border-radius:0.9em; color:yellow; display:table-cell; vertical-align:middle; font-weight:bolder; text-align:center; height:5em; width:5em; font-size:3.6em; position:relative; } span.green>span { font-size:251%; } </style> </head> <body> <span class="green">L</span> <span class="green"> <span>L</span> </span> </body> </html>