© Martine Dowden and Michael Dowden 2020
M. Dowden, M. DowdenArchitecting CSShttps://doi.org/10.1007/978-1-4842-5750-0_6

6. Interactions and Transitions

Martine Dowden1  and Michael Dowden1
(1)
Brownsburg, IN, USA
 

When we think of HTML and CSS, we often think “static.” JavaScript much more commonly comes to mind when thinking of interactions or animations. CSS, however, includes several features that allow for manipulation of elements as a result of user interaction. In this chapter, we will look at how we can respond to user interaction using CSS and how to support those interactions using animations and transitions.

User Interaction Response

One of the most commonly used ways of responding to user interaction in CSS is by using the pseudo elements ...

Get Architecting CSS: The Programmer’s Guide to Effective Style Sheets now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.