-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsandbox.html
35 lines (31 loc) · 953 Bytes
/
sandbox.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="stylesheet"
type="text/css"
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200italic,400,600,600italic,700"
/>
</head>
<body>
<main>
<h1>CSS-BY-JS</h1>
<span>The next step of CSS-in-JS.</span>
<p>
All of the CSS you see on this page started with a standard CSS file,
which was then processed into an array of rules, and then passed into a
JS function that applied it to the appropriate elements on the page.
</p>
<p>
Go ahead. Inspect the page. The only CSS file that's loaded is from
Google Fonts.
</p>
<h3>Why?</h3>
<p>
It's real hot to do weird things to use CSS these days.
</p>
</main>
<script src="./output/css-by-js.js"></script>
</body>
</html>