Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="" />
<meta charset=utf-8 />
<title>Line-height units - Fixed units demo</title>
</head>
<body>
  <p style="color:#2BA6CB; padding-bottom:1em;margin-bottom:2em;border-bottom: 2px dashed #2BA6CB;">This is a demo playground for the article "<a href="https://tzi.fr/css/line-height-units" style="color:#FB6418">Line-height units</a>" by tzi.</p>
  
  <div class="element">
    I am THE element. I am lucky enough to have specific line-height for myself.
    <br><span data-csscontent="line-height"></span>
     <div class="children">
      I am a children and I have no specific line-height setted. So I determine mine by following inheritance and casacading rules.
       <br><span data-csscontent="line-height"></span>
    </div>
  </div>
</body>
</html>
Output 300px

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

Dismiss x
public
Bin info
tzipro
0viewers