Edit in JSFiddle


              
            
          
            
              
                
<h1>Understanding the difference between EM, PX, %age and PT<br> - <a href="http://aamirshahzad.net">Aamir Shahzad</a></h1>

<p>Let's understand PT's philosophy by a jsfiddle coding example. Resize output window to check <b>PT</b> in action.</p>
body {
    font-family: calibri, arial;
    font-size: 100%;
}
h1 {
    font-size: 48pt;
}
h1 a {
    text-decoration: none;
}
p {
    font-size: 24pt;
}
@media (min-width:768px) and (max-width: 1024px) {
    body {
        font-size: 75%;
    }
}
@media(max-width: 768px) {
    body {
        font-size: 50%;
    }
}