What is the difference between px, em and ex? And when you define font-size in CSS, do you use px, pt or
px
em
ex
pt
em : the font-size of the relevant font ex : the x-height of the relevant font px : pixels, relative to the viewing device
font-size
x-height