- What is CSS BEM?
Haven't used BEM before, but as I know, it's a class name naming convension, for better managing css code.
- What is the difference between em and rem units?
em: Representing relativefont-size, relative to parent element.rem:root em, representing relativefont-size, but only relative to root element (``).