Interactive online courses HTML Academy
2026-03-09 12:25 Diff

As you probably have already noticed, this chapter has been laid out using Material Design, which is the design language created by Google.

Let’s use what we’ve learned about transitions and try to reinvent the basic elements that make up a shape: text boxes, checkboxes, toggle switches, and more. In our implementation, they will follow the principles of Material Design and use smooth transitions when states are changed.

Let’s start with “paper” buttons that cast shadows. Let’s implement them using two pairs of radio buttons and associated labels. Create radio buttons and labels, and then visually hide the radio buttons.