What CSS does
A typical web application uses several technologies with distinct responsibilities. HTML provides document structure and meaning. JavaScript can handle application behaviour, dynamic interactions and communication with backend services. CSS defines how the browser presents the resulting interface. CSS can establish a two-column page, adjust the spacing around a form, style an error message, respond to a narrow viewport and display a visible keyboard focus indicator. It can also respond to user preferences such as reduced motion, preferred colour scheme and certain device characteristics. Modern CSS includes powerful mechanisms for creating adaptable interfaces without requiring JavaScript to calculate every layout measurement.


