Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
  </head>
  <body>
    <div class="container">
      <span>.container { font-size: 1.4em; }</span>
      
      <div class="red-box">
        
        <span>.red-box { font size: 1.4em; }</span>
        
        <div class="green-box">
          <span>.green-box { font-size: 1.4em; }</span>
        </div>
      </div>
      
    </div>
  </body>
</html>
 
body {
  font-size: 16px;
}
.container {
  font-size: 1.4em;
  border: 1px black solid;
  padding: 20px;
}
.red-box {
  font-size: 1.4em;
  border: 1px red solid;
  padding: 20px;
}
.green-box {
  font-size: 1.4em;
  border: 1px green solid;
  padding: 20px;
}
Output

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

Dismiss x