88 < style >
99 @font-face {
1010 font-family : 'Amstelvar VF' ;
11- src : url ('fonts/Amstelvar-Roman -VF.woff2' ) format ('woff2-variations' );
11+ src : url ('fonts/AmstelvarAlpha -VF.woff2' ) format ('woff2-variations' );
1212 font-weight : 300 900 ;
1313 font-stretch : 75 150 ;
1414 font-style : normal;
1515 font-display : swap;
1616 }
17- @font-face {
18- font-family : 'Amstelvar VF' ;
19- src : url ('fonts/Amstelvar-Italic-VF.woff2' ) format ('woff2-variations' );
20- font-weight : normal;
21- font-stretch : normal;
22- font-style : italic;
23- font-display : swap;
24- }
2517
2618 html {
2719 box-sizing : border-box;
119111 --text-wdth : 100 ;
120112 --text-opsz : 16 ;
121113 }
122- .container2 h1 , . container2 h2 , . container2 p {
114+ .container2 > * {
123115 font-size : 5rem ;
124- font-variation-settings : 'wght' var (--text-wght ), 'wdth' var (--text-wdth ), 'opsz' var (--text-opsz );
116+ font-variation-settings : 'wght' var (--text-wght ), 'wdth' var (--text-wdth ), 'opsz' var (--text-opsz ), 'GRAD' var ( --text-GRAD )
125117 }
126118 .container2 h1 {
127119 --text-wght : 450 ;
135127 --text-opsz : 36 ;
136128 font-size : 2.25rem ;
137129 }
130+ .container2 h2 : hover {
131+ --text-GRAD : 130 ;
132+ }
138133 .container2 p {
139134 font-size : 1rem ;
140135 }
@@ -217,7 +212,7 @@ <h2>CHAPTER 1. Loomings.</h2>
217212 < section class ="section section2 ">
218213 < div class ="container container2 ">
219214 < h1 > Moby Dick</ h1 >
220- < h2 > CHAPTER 1. Loomings.</ h2 >
215+ < h2 > CHAPTER 1. Loomings. (hover here) </ h2 >
221216 < p >
222217 Call me Ishmael. Some years ago—never mind how long precisely–having
223218 little or no money in my purse, and nothing particular to interest me on
@@ -243,10 +238,11 @@ <h2>CHAPTER 1. Loomings.</h2>
243238 --text-wght: 375;
244239 --text-wdth: 100;
245240 --text-opsz: 16;
241+ --text-GRAD: 88;
246242 }
247- .container2 h1, .container2 h2, .container2 p {
243+ .container2 > * {
248244 font-size: 5rem;
249- font-variation-settings: 'wght' var(--text-wght), 'wdth' var(--text-wdth), 'opsz' var(--text-opsz);
245+ font-variation-settings: 'wght' var(--text-wght), 'wdth' var(--text-wdth), 'opsz' var(--text-opsz), 'GRAD' var(--text-GRAD) ;
250246 }
251247 .container2 h1 {
252248 --text-wght: 450;
@@ -260,14 +256,17 @@ <h2>CHAPTER 1. Loomings.</h2>
260256 --text-opsz: 36;
261257 font-size: 2.25rem;
262258 }
259+ .container2 h2:hover {
260+ --text-GRAD: 130;
261+ }
263262 .container2 p {
264263 font-size: 1rem;
265264 }
266265 </ textarea >
267266 < textarea id ="code2 " class ="playable-html2 ">
268267 < div class ="container container2 ">
269268 < h1 > Moby Dick</ h1 >
270- < h2 > CHAPTER 1. Loomings.</ h2 >
269+ < h2 > CHAPTER 1. Loomings. (hover here) </ h2 >
271270 < p >
272271 Call me Ishmael. Some years ago—never mind how long precisely–having
273272 little or no money in my purse, and nothing particular to interest me on
0 commit comments