How does responsive web design work?