Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
  <p>This icon should scale using font-size.</p> 
  <span class="fa-stack fa-rotate-90" style='font-size:10px'>
      <i class="fa fa-square fa-stack-1x" style="top: 0; left: 0;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .1em;left: .1em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .2em;left: .2em;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .3em;left: .3em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .4em;left: .4em;"></i>
  </span>  
  <span class="fa-stack fa-rotate-90" style='font-size:20px'>
      <i class="fa fa-square fa-stack-1x" style="top: 0; left: 0;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .1em;left: .1em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .2em;left: .2em;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .3em;left: .3em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .4em;left: .4em;"></i>
  </span>
  <span class="fa-stack fa-rotate-90" style='font-size:40px'>
      <i class="fa fa-square fa-stack-1x" style="top: 0; left: 0;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .1em;left: .1em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .2em;left: .2em;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .3em;left: .3em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .4em;left: .4em;"></i>
  </span>
  <span class="fa-stack fa-rotate-90" style='font-size:80px'>
      <i class="fa fa-square fa-stack-1x" style="top: 0; left: 0;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .1em;left: .1em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .2em;left: .2em;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .3em;left: .3em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .4em;left: .4em;"></i>
  </span>
  <span class="fa-stack fa-rotate-90" style='font-size:160px'>
      <i class="fa fa-square fa-stack-1x" style="top: 0; left: 0;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .1em;left: .1em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .2em;left: .2em;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .3em;left: .3em;color:#fff;"></i>
      <i class="fa fa-square fa-stack-1x" style="top: .4em;left: .4em;"></i>
  </span>  
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
erikssssspro
0viewers