REM and EM explained!

Both REM and EM are relative units. EM children inherit size by scaling in relation to the parent font size. REM is only relative to the html(root) font-size. REM is best used to define the padding and margins. REM stands for “root em”. REM units help for responsive design. REM units are great for rapid prototyping. […]