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 Percent's philosophy by a jsfiddle coding example. Resize output window to check <b>%age</b> in action.</p>
body {
    font-family: calibri, arial;
}
h1 {
    font-size: 200%;
}
h1 a {
    text-decoration: none;
}
p {
    font-size: 150%;
}
@media (min-width:768px) and (max-width: 1024px) {
    body {
        font-size: 90%;
    }
}
@media(max-width: 768px) {
    body {
        font-size: 75%;
    }
}