<div id="px">PX</div>
<div id="rem">REM</div>
#px{font-size:16px;}
#rem{font-size:1rem;}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.