This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
forked from Devographics/entities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeatures.yml
1655 lines (1471 loc) · 34.4 KB
/
features.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#################################################
#
# CSS
#
#################################################
#################################################
# CSS layout
#################################################
- id: mleko
name: Mleko
mdn: /en-US/docs/Web/API/Service_Worker_API
- id: grid
name: Grid
mdn: /en-US/docs/Web/CSS/CSS_Grid_Layout
caniuse: css-grid
tags:
- css
- css_layout
- id: subgrid
name: Subgrid
mdn: /en-US/docs/Web/CSS/CSS_Grid_Layout/Subgrid
caniuse: css-subgrid
patterns:
- sub( |-)?grid
tags:
- css
- css_layout
- id: regions
name: CSS Regions
caniuse: css-regions
tags:
- css
- css_layout
- id: flexbox
name: Flexbox
mdn: /en-US/docs/Web/CSS/CSS_Flexible_Box_Layout
caniuse: flexbox
tags:
- css
- css_layout
- id: multi_column
name: Multi-Column Layout
mdn: /en-US/docs/Web/CSS/CSS_Columns
caniuse: multicolumn
tags:
- css
- css_layout
- id: writing_modes
name: Writing Modes
mdn: /en-US/docs/Web/CSS/CSS_Writing_Modes
caniuse: css-writing-mode
example:
language: css
code : |
.vertical-text {
writing-mode: vertical-lr;
}
tags:
- css
- css_layout
- id: exclusions
name: Exclusions
caniuse: css-exclusions
tags:
- css
- css_layout
- id: position_sticky
name: "`position:sticky`"
mdn: /en-US/docs/Web/CSS/position
caniuse: css-sticky
patterns:
- sticky
tags:
- css
- css_layout
- id: logical_properties
name: CSS Logical Properties
description: >
`margin-block-start`, `padding-inline-end`, `border-inline-start`…
mdn: /en-US/docs/Web/CSS/CSS_Logical_Properties
caniuse: css-logical-props
example:
language: css
code : |
section {
border-block: 8px solid blue;
border-inline: 8px solid green;
}
tags:
- css
- css_layout
- id: aspect_ratio
name: "`aspect-ratio`"
mdn: /en-US/docs/Web/CSS/aspect-ratio
caniuse: mdn-css_properties_aspect-ratio
example:
language: css
code : |
.square {
aspect-ratio: 1 / 1;
}
tags:
- css
- css_layout
- id: flexbox_gap
name: Flexbox `gap`
mdn: /en-US/docs/Web/CSS/gap
caniuse: flexbox-gap
patterns:
- gap for flex
- Gap property for flex
- flexbox( |-)?gap
- flex( |-)?gap
tags:
- css
- css_layout
- id: break_rules
name: Break Rules
description: >
`break-inside`, `break-before`, `break-after`
mdn: /en-US/docs/Web/CSS/break-before
caniuse: mdn-css_properties_break-before_paged_context
example:
language: css
code : |
.element {
break-before: page;
}
tags:
- css
- css_layout
- id: at_container
name: "`@container`"
mdn: /en-US/docs/Web/CSS/CSS_Container_Queries
caniuse: css-container-queries
example:
language: css
code : |
@container (min-width: 700px) {
.card {
display: grid;
grid-template-columns: 2fr 1fr;
}
}
patterns:
- '@container'
- container
- container( |-)(media|width)? ?quer(y|ies)
- (element|object|component)s? (based )?(media )?quer(y|ies)
tags:
- css
- css_layout
- id: object_view_box
name: "`object-view-box`"
example:
language: css
code : |
img {
aspect-ratio: 1;
width: 300px;
object-view-box: inset(25% 20% 15% 0%);
}
tags:
- css
- css_layout
- id: viewport_percentage_length_units
name: Viewport-Percentage Length Units
description: >
`sv*`, `lv*`, `dv*`
mdn: /en-US/docs/Web/CSS/length#relative_length_units_based_on_viewport
resources:
- title: The Large, Small, and Dynamic Viewports
url: https://www.bram.us/2021/07/08/the-large-small-and-dynamic-viewports/
caniuse: mdn-css_types_length_viewport_percentage_units_small
example:
language: css
code : |
body {
height: 100dvh;
}
tags:
- css
- css_layout
- id: media_queries_range_contexts
name: Media Queries Range Contexts
# mdn:
w3c: https://www.w3.org/TR/mediaqueries-4/#mq-range-context
caniuse: css-media-range-syntax
example:
language: css
code : |
@media (400px < width < 1000px) {
/* ... */
}
tags:
- css
- css_layout
- id: media_queries
name: Media Queries
mdn: /en-US/docs/Web/CSS/Media_Queries/Using_media_queries
caniuse: css-mediaqueries
tags:
- css
- css_layout
#################################################
# CSS shapes & graphics
#################################################
- id: shapes
name: Shapes
description: >
`shape-image-threshold`, `shape-margin`, `shape-outside`
mdn: /en-US/docs/Web/CSS/CSS_Shapes
caniuse: css-shapes
example:
language: css
code: |
img {
float: left;
shape-outside: circle(50%);
}
tags:
- css
- css_shapes_and_graphics
- id: object_fit
name: "`object-fit`"
mdn: /en-US/docs/Web/CSS/object-fit
caniuse: object-fit
example:
language: css
code: |
.contain {
object-fit: contain;
}
tags:
- css
- css_shapes_and_graphics
- id: clip_path
name: "`clip-path`"
mdn: /en-US/docs/Web/CSS/clip-path
caniuse: css-clip-path
tags:
- css
- css_shapes_and_graphics
- id: masks
name: Masking
mdn: /en-US/docs/Web/CSS/CSS_Masking
caniuse: css-masks
tags:
- css
- css_shapes_and_graphics
- id: blend_modes
name: "`blend-mode`"
description: >
`mix-blend-mode`, `background-blend-mode`, `isolation`
mdn: /en-US/docs/Web/CSS/blend-mode
caniuse: css-mixblendmode
example:
language: css
code: |
.item2 {
color: #000;
mix-blend-mode: overlay;
}
tags:
- css
- css_shapes_and_graphics
- id: filter_effects
name: Filters & Effects
description: >
`blur()`, `brightness()`, `contrast()`…
mdn: /en-US/docs/Web/CSS/filter
caniuse: css-filters
example:
language: css
code: |
.image{
filter: contrast(175%) blur(5px)
}
tags:
- css
- css_shapes_and_graphics
- id: backdrop_filter
name: "`backdrop-filter`"
mdn: /en-US/docs/Web/CSS/backdrop-filter
caniuse: css-backdrop-filter
example:
language: css
code: |
.box {
backdrop-filter: blur(10px);
}
tags:
- css
- css_shapes_and_graphics
- id: intrinsic_sizing
name: Intrinsic Sizing
description: >
`min-content`, `max-content`, `fit-content`
mdn: /en-US/docs/Web/CSS/min-content
caniuse: intrinsic-width
example:
language: css
code: |
h2 {
width: max-content;
}
tags:
- css
- css_shapes_and_graphics
- id: repeating_linear_gradient
name: "`repeating-linear-gradient()`"
mdn: /en-US/docs/Web/CSS/gradient/repeating-linear-gradient()
caniuse: mdn-css_types_image_gradient_repeating-linear-gradient
tags:
- css
- css_shapes_and_graphics
- id: conic_gradient
name: "`conic-gradient()`"
mdn: /en-US/docs/Web/CSS/gradient/conic-gradient()
caniuse: mdn-css_types_image_gradient_conic-gradient
example:
language: css
code: |
.blue-to-red {
background: conic-gradient(from 45deg, blue, red);
}
tags:
- css
- css_shapes_and_graphics
- id: border_image
name: "`border-image`"
mdn: /en-US/docs/Web/CSS/border-image
caniuse: border-image
tags:
- css
- css_shapes_and_graphics
#################################################
# Colors
#################################################
- id: color_function
name: "`color()`"
mdn: /en-US/docs/Web/CSS/color_value/color()
example:
language: css
code : |
.brightest-green {
background: color(display-p3 0 1 0);
}
caniuse: css-color-function
tags:
- css
- css_colors
- id: accent_color
name: "`accent-color`"
mdn: /en-US/docs/Web/CSS/accent-color
caniuse: mdn-css_properties_accent-color
tags:
- css
- css_shapes_and_graphics
- id: color_contrast
name: "`color-contrast()`"
mdn: /en-US/docs/Web/CSS/color_value/color-contrast()
caniuse: mdn-css_types_color_color-contrast
example:
language: css
code: |
.high-contrast {
color: color-contrast(#008080 vs olive, var(--myColor), #d2691e);
}
tags:
- css
- css_colors
- id: currentcolor
name: "`currentcolor`"
mdn: /en-US/docs/Web/CSS/color_value#currentcolor_keyword
example:
language: css
code : |
.blue-text {
color: blue;
}
.blue-text .blue-background {
background: currentColor;
}
caniuse: currentcolor
tags:
- css
- css_colors
- id: color_mix
name: "`color-mix()`"
mdn: /en-US/docs/Web/CSS/color_value/color-mix
example:
language: css
code : |
.teal {
background: color-mix(in lab, white 20%, #34c9eb);
}
caniuse: mdn-css_types_color_color-mix
tags:
- css
- css_colors
- id: wide_gamut_colors
name: Wide Gamut Colors
description: >
`lch()`, `lab()`, `oklch()`, `oklab()`
mdn: /en-US/docs/Web/CSS/color_value/lch
caniuse: css-lch-lab
example:
language: css
code : |
.foo {
background-color: lab(29.2345% 39.3825 20.0664);
background-color: lch(29.2345% 44.2 27);
}
tags:
- css
- css_colors
- id: relative_colors
name: Relative Colors
w3c: TR/css-color-5/#relative-colors
resources:
- title: Create a color theme with CSS Relative Color Syntax, CSS color-mix(), and CSS color-contrast()
url: https://www.bram.us/2021/04/28/create-a-color-theme-with-css-relative-color-syntax-css-color-mix-and-css-color-contrast/
language: en-US
example:
language: css
code : |
.foo {
--color: #4488dd;
background-color: hsl(from var(--color) h s calc(l * 1.2))
}
tags:
- css
- css_colors
- id: forced_colors
name: "`forced-colors`"
mdn: /en-US/docs/Web/CSS/@media/forced-colors
caniuse: mdn-css_at-rules_media_forced-colors
example:
language: css
code : |
@media (forced-colors: active) {
.button {
border: 2px green solid;
}
}
tags:
- css
- css_colors
- id: prefers_contrast
name: "`prefers-contrast`"
mdn: /en-US/docs/Web/CSS/@media/prefers-contrast
caniuse: mdn-css_at-rules_media_prefers-contrast
example:
language: css
code : |
@media (prefers-contrast: more) {
.contrast {
outline: 2px solid black;
}
}
tags:
- css
- css_colors
- id: gradient_color_spaces
name: Gradient Color Spaces
# mdn:
# caniuse:
example:
language: css
code : |
.gradient {
background: linear-gradient(in oklab, hsl(80 90% 50%), red);
}
tags:
- css
- css_colors
#################################################
# CSS interactions
#################################################
- id: scroll_snap
name: Scroll Snap
description: >
`scroll-snap-type`, `scroll-snap-align`, `scroll-padding`…
mdn: /en-US/docs/Web/CSS/CSS_Scroll_Snap
caniuse: css-snappoints
example:
language: css
code: |
.scroller {
height: 300px;
overflow-y: scroll;
scroll-snap-type: y mandatory;
}
.scroller section {
scroll-snap-align: start;
}
tags:
- css
- css_interactions
- id: overscroll_behavior
name: "`overscroll-behavior`"
mdn: /en-US/docs/Web/CSS/overscroll-behavior
caniuse: css-overscroll-behavior
example:
language: css
code: |
.foo {
height: 200px;
overflow: auto;
overscroll-behavior-y: contain;
}
tags:
- css
- css_interactions
- id: overflow_anchor
name: "`overflow-anchor`"
mdn: /en-US/docs/Web/CSS/overflow-anchor
caniuse: css-overflow-anchor
tags:
- css
- css_interactions
- id: touch_action
name: "`touch-action`"
mdn: /en-US/docs/Web/CSS/touch-action
caniuse: css-touch-action
tags:
- css
- css_interactions
- id: pointer_events
name: "`pointer-events`"
mdn: /en-US/docs/Web/CSS/pointer-events
caniuse: pointer-events
tags:
- css
- css_interactions
- id: scroll_timeline
name: "`@scroll-timeline`"
caniuse: css-scroll-timeline
mdn: /en-US/docs/Web/CSS/@scroll-timeline
tags:
- css
- css_interactions
- id: scroll_behavior
name: "`scroll-behavior`"
mdn: /en-US/docs/Web/CSS/scroll-behavior
caniuse: css-scroll-behavior
example:
language: css
code: |
.foo {
scroll-behavior: auto;
scroll-behavior: smooth;
}
patterns:
- scroll(-| )?behavio(u)?r
tags:
- css
- css_interactions
- id: scroll_padding
name: "`scroll-padding`"
mdn: /en-US/docs/Web/CSS/scroll-padding
caniuse: mdn-css_properties_scroll-padding
example:
language: css
code: |
.foo {
scroll-padding: 20px;
}
tags:
- css
- css_interactions
- id: scrollbar_gutter
name: "`scrollbar-gutter`"
mdn: /en-US/docs/Web/CSS/scrollbar-gutter
caniuse: mdn-css_properties_scrollbar-gutter
example:
language: css
code : |
.container {
scrollbar-gutter: stable;
}
tags:
- css
- css_interactions
#################################################
# CSS typography
#################################################
- id: web_fonts
name: "`@font-face`"
mdn: /en-US/docs/Web/CSS/@font-face
caniuse: fontface
tags:
- css
- css_typography
- id: variable_fonts
name: Variable Fonts
mdn: /en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
caniuse: variable-fonts
tags:
- css
- css_typography
- id: line_breaking
name: Line Breaking Properties
description: >
`overflow-wrap`, `word-break`, `line-break`, `hyphens`
mdn: /en-US/docs/Web/CSS/line-break
tags:
- css
- css_typography
- id: font_variant
name: "`font-variant`"
mdn: /en-US/docs/Web/CSS/font-variant
caniuse: font-variant-alternates
tags:
- css
- css_typography
- id: initial_letter
name: "`initial-letter`"
mdn: /en-US/docs/Web/CSS/initial-letter
caniuse: css-initial-letter
tags:
- css
- css_typography
- id: font_variant_numeric
name: "`font-variant-numeric`"
mdn: /en-US/docs/Web/CSS/font-variant-numeric
caniuse: font-variant-numeric
tags:
- css
- css_typography
- id: font_display
name: "`font-display`"
mdn: /en-US/docs/Web/CSS/@font-face/font-display
caniuse: css-font-rendering-controls
example:
language: css
code: |
@font-face {
font-family: ExampleFont;
src: url(/path/to/fonts/examplefont.woff) format("woff");
font-display: fallback;
}
tags:
- css
- css_typography
- id: line_clamp
name: "`line-clamp`"
mdn: /en-US/docs/Web/CSS/-webkit-line-clamp
caniuse: css-line-clamp
tags:
- css
- css_typography
- id: leading_trim
name: "`leading-trim`"
tags:
- css
- css_typography
- id: direction
name: "`direction`"
mdn: /en-US/docs/Web/CSS/direction
caniuse: mdn-css_properties_direction
tags:
- css
- css_typography
- id: text_decoration_style
name: "`text-decoration-style`"
mdn: /en-US/docs/Web/CSS/text-decoration-style
caniuse: text-decoration
tags:
- css
- css_typography
- id: font_palette
name: "`font-palette`"
caniuse: css-font-palette
w3c: /TR/css-fonts-4/#propdef-font-palette
example:
language: css
code : |
@font-palette-values --PinkAndGray {
font-family: bungee;
override-colors:
0 #c1cbed,
1 #ff3a92;
}
.grays {
font-family: bungee;
font-palette: --PinkAndGray;
}
tags:
- css
- css_typography
#################################################
# CSS animations & transforms
#################################################
- id: transitions
name: Transitions
mdn: /en-US/docs/Web/CSS/CSS_Transitions
caniuse: css-transitions
tags:
- css
- css_animations_and_transforms
- id: transforms
name: Transforms
mdn: /en-US/docs/Web/CSS/CSS_Transforms
caniuse: transforms2d
tags:
- css
- css_animations_and_transforms
- id: animations
name: Animations
mdn: /en-US/docs/Web/CSS/CSS_Animations
caniuse: css-animation
patterns:
- animation
tags:
- css
- css_animations_and_transforms
- id: perspective
name: "`perspective`"
mdn: /en-US/docs/Web/CSS/perspective
caniuse: mdn-api_cssperspective
example:
language: css
code: |
.scene {
perspective: 400px;
}
.square {
transform: rotateY(45deg);
}
tags:
- css
- css_animations_and_transforms
#################################################
# CSS Selectors
#################################################
- id: marker
name: "`::marker`"
mdn: /en-US/docs/Web/CSS/::marker
caniuse: css-marker-pseudo
tags:
- css
- css_selectors
- id: has_selector
name: "`:has()`"
mdn: /en-US/docs/Web/CSS/:has
caniuse: css-has
example:
language: css
code : |
a:has(> img) {
border: 2px solid grey;
}
patterns:
- \:has
- has\(\)
tags:
- css
- css_selectors
- id: where_selector
name: "`:where()`"
mdn: /en-US/docs/Web/CSS/:where
caniuse: css-where
example:
language: css
code : |
:where(header, main, footer) p:hover {
color: red;
cursor: pointer;
}
tags:
- css
- css_selectors
#################################################
# JavaScript APIs
#################################################
- id: houdini_paint_api
name: Houdini Paint API
mdn: /en-US/docs/Web/API/CSS_Painting_API
caniuse: css-paint-api
example:
language: css
code : |
aside {
background-image: paint(myPaintedImage);
}
tags:
- css
- css_javascript_apis
- id: houdini_typed_om
name: Houdini Typed OM
mdn:
caniuse:
tags:
- css
- css_javascript_apis
- id: houdini_layout_api
name: Houdini Layout API
mdn: /en-US/docs/Web/Guide/Houdini#css_layout_api
caniuse: css-paint-api
example:
language: css
code : |
aside {
background-image: paint(myPaintedImage);
}
tags:
- css
- css_javascript_apis
- id: houdini_animation_worklet
name: Houdini Animation Worklet
mdn: /en-US/docs/Web/API/CSS_Painting_API
caniuse: css-paint-api
example:
language: css
code : |
aside {
background-image: paint(myPaintedImage);
}
tags:
- css
- css_javascript_apis
#################################################
# CSS media queries/Accessibility
#################################################
- id: prefers_reduced_motion
name: "`prefers-reduced-motion`"
mdn: /en-US/docs/Web/CSS/@media/prefers-reduced-motion
caniuse: prefers-reduced-motion
example:
language: css
code: |
@media (prefers-reduced-motion) {
.animation {
animation: none;
}
}
tags:
- css
- css_media_queries
- accessibility
- id: prefers_color_scheme
name: "`prefers-color-scheme`"
mdn: /en-US/docs/Web/CSS/@media/prefers-color-scheme
caniuse: prefers-color-scheme
example:
language: css
code: |
@media (prefers-color-scheme: dark) {
.foo {
background: #333;
color: white;
}
}
tags:
- css
- css_media_queries
- accessibility
- id: color_gamut
name: "`@media (color-gamut)`"
mdn: /en-US/docs/Web/CSS/@media/color-gamut
caniuse: mdn-css_at-rules_media_color-gamut
example:
language: css
code: |
@media (color-gamut: srgb) {
p {
background: #f4ae8a;
}
}
tags:
- css
- accessibility
- id: prefers_reduced_data
name: "`prefers-reduced-data`"
mdn: /en-US/docs/Web/CSS/@media/prefers-reduced-data
caniuse: mdn-css_at-rules_media_prefers-reduced-data
example:
language: css
code: |
@media (prefers-reduced-data: reduce) {
body {
font-family: system-ui;
}
}
tags:
- css
- css_media_queries
- accessibility
- id: color_scheme
name: "`color-scheme`"
mdn: /en-US/docs/Web/CSS/color-scheme
caniuse: mdn-css_properties_color-scheme
example:
language: css
code: |
.foo {
color-scheme: light dark;
}
tags:
- css
- accessibility
- id: aria_attributes
name: ARIA attributes
mdn: /en-US/docs/Web/Accessibility/ARIA
tags:
- css
- accessibility