File tree Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 8
8
< style >
9
9
@font-face {
10
10
font-family : 'Amstelvar VF' ;
11
- src : url ('fonts/AmstelvarAlpha-VF.woff2' ) format ('woff2' );
11
+ src : url ('fonts/AmstelvarAlpha-VF.woff2' ) format ('woff2-variations ' );
12
12
font-weight : 100 900 ;
13
- font-stretch : 75 100 ;
13
+ font-stretch : 75% 100% ;
14
14
font-style : normal;
15
15
font-display : swap;
16
16
}
Original file line number Diff line number Diff line change 10
10
font-family : 'Jost VF' ;
11
11
src : url ('fonts/jost-VF.woff2' ) format ('woff2-variations' );
12
12
font-weight : 300 900 ;
13
- font-stretch : 75 150 ;
14
- font-style : normal ;
13
+ font-stretch : 75% 150% ;
14
+ font-style : oblique 0 deg 20 deg ;
15
15
font-display : swap;
16
16
}
17
17
106
106
/* italic range is 0 or 1 */
107
107
.container1 * {
108
108
font-style : italic;
109
+ font-synthesis : none;
109
110
}
110
111
</ style >
111
112
< style class ="editable2 ">
112
113
/* italic range is 0 or 1 */
113
114
.container2 * {
115
+ font-synthesis : none;
114
116
font-variation-settings : 'ital' 1 ;
115
117
}
116
118
</ style >
117
119
< style class ="editable3 ">
118
120
/* Adjust with slider & custom property */
119
121
.container3 * {
122
+ font-synthesis : none;
120
123
font-variation-settings : 'ital' var (--text-axis );
121
124
}
122
125
</ style >
134
137
/* italic can only be italic or normal */
135
138
.container1 * {
136
139
font-style: italic;
140
+ font-synthesis: none;
137
141
}
138
142
</ textarea >
139
143
< textarea id ="code1 " class ="playable-html1 ">
151
155
< textarea class ="playable-css2 ">
152
156
/* italic can only be italic or normal */
153
157
.container2 * {
158
+ font-synthesis: none;
154
159
font-variation-settings: 'ital' 1;
155
160
}
156
161
</ textarea >
169
174
< textarea class ="playable-css3 ">
170
175
/* Adjust with slider & custom property */
171
176
.container3 * {
177
+ font-synthesis: none;
172
178
font-variation-settings: 'ital' var(--text-axis);
173
179
}
174
180
</ textarea >
Original file line number Diff line number Diff line change 10
10
font-family : 'Amstelvar VF' ;
11
11
src : url ('fonts/AmstelvarAlpha-VF.woff2' ) format ('woff2-variations' );
12
12
font-weight : 300 900 ;
13
- font-stretch : 75 150 ;
13
+ font-stretch : 75% 150% ;
14
14
font-style : normal;
15
15
font-display : swap;
16
16
}
Original file line number Diff line number Diff line change 10
10
font-family : 'Amstelvar VF' ;
11
11
src : url ('fonts/AmstelvarAlpha-VF.woff2' ) format ('woff2-variations' );
12
12
font-weight : 300 900 ;
13
- font-stretch : 75 150 ;
13
+ font-stretch : 75% 150% ;
14
14
font-style : normal;
15
15
font-display : swap;
16
16
}
Original file line number Diff line number Diff line change 10
10
font-family : 'Roboto VF' ;
11
11
src : url ('fonts/Roboto-VF.woff2' ) format ('woff2-variations' );
12
12
font-weight : 100 900 ;
13
- font-stretch : 75 100 ;
13
+ font-stretch : 75% 100% ;
14
14
font-style : oblique 0deg 12deg ;
15
15
font-display : swap;
16
16
}
You can’t perform that action at this time.
0 commit comments