Summary

In this chapter, we’ve looked at some of the more experimental features of the web platform. These are all still in the testing phase and are liable to change, but they’re so powerful and potentially important to the platform’s future that I couldn’t really finish this book without mentioning them.

First up was Web Components, the biggest change to HTML since its invention. Web Components is a suite of features. It makes a parallel DOM that allows reusable code blocks to enhance and extend the standard HTML elements with full encapsulation, protecting them from conflicts with other CSS rules and JavaScript functions.

Next we looked at the future of CSS, which is also undergoing huge changes thanks to the involvement of big tech companies. ...

Get The Modern Web 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.