Introduction to CSS-in-JS

Learn about the motivation behind CSS-in-JS and more about styled Components.

We'll cover the following

Origins of CSS

Take a moment to consider the unlikely origins of the web as an app platform. When Tim Berners-Lee wrote the original web server and browser in 1990, web pages were written in a single language: HTML. HTML could only convey raw content. The way that content was presented was left to the browser. Gradually, a handful of stylistic choices were added to the markup language. Authors started to embellish their sites with (often garish) color and font choices, not to mention the infamous <marquee> tag. With the introduction of CSS in 1996, the aesthetic choices available to web designers exploded.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy