File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 33< head >
44 < meta charset ="UTF-8 ">
55 < title > Scoped CSS Variables and JS</ title >
6+ < link rel ="stylesheet " href ="style.css " media ="screen " title ="no title ">
67</ head >
78< body >
89 < h2 > Update CSS Variables with < span class ='hl '> JS</ span > </ h2 >
@@ -19,41 +20,7 @@ <h2>Update CSS Variables with <span class='hl'>JS</span></h2>
1920 </ div >
2021
2122 < img src ="https://source.unsplash.com/7bwQXzbF6KE/800x500 ">
22-
23- < style >
24-
25- /*
26- misc styles, nothing to do with CSS variables
27- */
28-
29- body {
30- text-align : center;
31- }
32-
33- body {
34- background : # 193549 ;
35- color : white;
36- font-family : 'helvetica neue' , sans-serif;
37- font-weight : 100 ;
38- font-size : 50px ;
39- }
40-
41- .controls {
42- margin-bottom : 50px ;
43- }
44-
45- a {
46- color : var (--base );
47- text-decoration : none;
48- }
49-
50- input {
51- width : 100px ;
52- }
53- </ style >
54-
55- < script >
56- </ script >
23+ < script type ="text/javascript " src ="main.js "> </ script >
5724
5825</ body >
5926</ html >
Original file line number Diff line number Diff line change 1+ body {
2+ text-align : center;
3+ }
4+
5+ body {
6+ background : # 193549 ;
7+ color : white;
8+ font-family : 'helvetica neue' , sans-serif;
9+ font-weight : 100 ;
10+ font-size : 50px ;
11+ }
12+
13+ .controls {
14+ margin-bottom : 50px ;
15+ }
16+
17+ a {
18+ color : var (--base );
19+ text-decoration : none;
20+ }
21+
22+ input {
23+ width : 100px ;
24+ }
You can’t perform that action at this time.
0 commit comments