-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstate_of_css.yml
1191 lines (1028 loc) · 40.5 KB
/
state_of_css.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
locale: zh-Hans
namespace: css
translations:
###########################################################################
# General
###########################################################################
- key: general.state_of_css.intro
t: >
CSS 正在以前所未有的速度发展。
Flexbox (弹性布局)、 Grid (栅格布局)、 Multi-Column (多列布局)等等……甚至出现了 CSS-in-JS 这样的全新的技术领域。
也因每年举办的 [State Of JavaScript](https://stateofjs.com) 取得成功后。
我们决定深入样式选择器的世界,帮助大家找到 CSS 最新趋势,
作为桥梁连接“大前端时代”洪流!
- key: general.state_of_css.description
t: 关于 CSS 最新趋势的年度调查。
###########################################################################
# Sections
###########################################################################
- key: sections.layout.title
t: 布局
- key: sections.layout.description
t: 使用什么布局方式进行元素布局?
- key: sections.shapes_graphics.title
t: 图形与图像
- key: sections.shapes_graphics.description
t: 控制形状与元素的显示方式。
- key: sections.interactions.title
t: 交互
- key: sections.interactions.description
t: 使用者如何进行页面交互?
- key: sections.typography.title
t: 排版
- key: sections.typography.description
t: 文本排版设置。
- key: sections.animations_transforms.title
t: 动画和变换
- key: sections.animations_transforms.description
t: 动画和变换元素。
- key: sections.accessibility.title
t: 可访问性
- key: sections.accessibility.description
t: 可访问性相关技术。
- key: sections.media_queries.title
t: 媒体查询
- key: sections.media_queries.description
t: 网站多端解决方案。
- key: sections.selectors.title
t: 选择器
- key: sections.selectors.description
t: CSS 选择器。
- key: sections.colors.title
t: 颜色
- key: sections.colors.description
t: 颜色相关特性。
- key: sections.javascript_apis.title
t: JavaScript APIs
- key: sections.javascript_apis.description
t: 用于控制或补充 CSS 的 JavaScript APIs。
- key: sections.other_features.title
t: 其他特征
- key: sections.other_features.description
t: 其他 CSS 特征。
- key: sections.math_features.title
t: 数学
- key: sections.math_features.description
t: 数学特性。
- key: sections.units_selectors.title
t: 单位和选择器
- key: sections.units_selectors.description
t: 测试你对 CSS 单位和选择器了解多少。
- key: sections.pre_post_processors.title
t: 预/后处理
- key: sections.pre_post_processors.description
t: 健壮 CSS 的处理器。
- key: sections.pre_post_processors_others.title
t: 其他预/后处理框架
- key: sections.css_frameworks.title
t: CSS 框架
- key: sections.css_frameworks.description
t: 提供预先设置好组件和样式库。
- key: sections.css_frameworks_others.title
t: 其他 CSS 框架
- key: sections.css_methodologies.title
t: CSS 编码方式
- key: sections.css_methodologies.description
t: 编写更简洁 CSS 代码的方式
- key: sections.css_methodologies_others.title
t: 其他 CSS 方法
- key: sections.css_in_js.title
t: CSS-in-JS
- key: sections.css_in_js.description
t: 使用 JavaScript 编写 CSS 代码的库
- key: sections.css_in_js_others.title
t: 其他 CSS-in-JS 库
- key: sections.tools_others.title
t: 其他工具
- key: sections.tools_others.description
t: 其他 CSS 工具
- key: sections.environments.title
t: 环境
- key: sections.environments.description
t: 你于什么环境下编写 CSS 代码?
- key: sections.usage_css.title
t: CSS 使用情况
- key: sections.usage_css.description
t: 你如何使用 CSS。
- key: sections.resources_css.title
t: 资源
- key: sections.resources_css.description
t: 你会参考哪些 CSS 资源?
###########################################################################
# Options
###########################################################################
# CSS for print
- key: options.css_for_print.0
t: 我从未用过 print styles (打印样式)
- key: options.css_for_print.0.short
t: 从未
- key: options.css_for_print.1
t: 我偶尔使用 print styles (打印样式)
- key: options.css_for_print.1.short
t: 偶尔
- key: options.css_for_print.2
t: 我经常使用 print styles (打印样式)
- key: options.css_for_print.2.short
t: 常用
- key: options.css_for_print.3
t: 我重度使用 print styles (打印样式)
- key: options.css_for_print.3.short
t: 重度使用
# CSS for email
- key: options.css_for_email.0
t: 我从未用过 email styles (邮件样式)
- key: options.css_for_email.0.short
t: 从未
- key: options.css_for_email.1
t: 我偶尔使用 email styles (邮件样式)
- key: options.css_for_email.1.short
t: 偶尔
- key: options.css_for_email.2
t: 我经常使用 email styles (邮件样式)
- key: options.css_for_email.2.short
t: 常用
- key: options.css_for_email.3
t: 我重度使用 email styles (邮件样式)
- key: options.css_for_email.3.short
t: 重度使用
# what do you use CSS for?
- key: options.what_do_you_use_css_for.marketing_sites
t: 营销网站和登录页
- key: options.what_do_you_use_css_for.design_systems
t: 设计系统
- key: options.what_do_you_use_css_for.blogs
t: 博客或其他文本密集型网站
- key: options.what_do_you_use_css_for.web_apps
t: 网络应用
- key: options.what_do_you_use_css_for.mobile_apps
t: 移动应用程序
- key: options.what_do_you_use_css_for.css_art
t: 插图
- key: options.what_do_you_use_css_for.emails
t: 电子邮件
- key: options.what_do_you_use_css_for.printed_documents
t: 印刷文件
- key: options.what_do_you_use_css_for.desktop_apps
t: 桌面应用
- key: options.what_do_you_use_css_for.e_commerce
t: 电子商务
- key: options.what_do_you_use_css_for.websites
t: 网页
- key: options.what_do_you_use_css_for.games
t: 游戏
- key: options.what_do_you_use_css_for.portfolio
t: 作品集
- key: options.what_do_you_use_css_for.extensions
t: 浏览器插件
- key: options.what_do_you_use_css_for.desktop
t: 桌面
# CSS pain points
- key: options.css_pain_points.browser_interoperability
t: 浏览器兼容性
- key: options.css_pain_points.browser_interoperability.description
t: Chrome、Safari、Firefox等的区别。
- key: options.css_pain_points.interactions
t: 交互
- key: options.css_pain_points.interactions.description
t: 响应用户输入或其他事件(滚动、悬停等)。
- key: options.css_pain_points.architecture
t: 架构与维护
- key: options.css_pain_points.architecture.description
t: 文件组织、死代码消除、重构等。
- key: options.css_pain_points.layout_positioning
t: 布局与定位
- key: options.css_pain_points.layout_positioning.description
t: 设置布局,并确保元素位于你希望的位置。
- key: options.css_pain_points.scoping_specificity
t: 样式作用域
- key: options.css_pain_points.scoping_specificity.description
t: 处理级联、覆盖样式等。
- key: options.css_pain_points.responsive_design
t: 响应性设计
- key: options.css_pain_points.responsive_design.description
t: 根据不同的形状因素调整布局和设计。
- key: options.css_pain_points.form_elements_styling
t: 表单元素样式
- key: options.css_pain_points.form_elements_styling.description
t: 自定义表单元素的外观和行为。
- key: options.css_pain_points.performance_issues
t: 性能问题
- key: options.css_pain_points.performance_issues.description
t: 处理滚动卡顿,使动画更加流畅等问题。
- key: options.css_pain_points.accessibility
t: 可访问性
- key: options.css_pain_points.accessibility.description
t: 保持内容的可访问性
- key: options.css_pain_points.animations
t: 动画
- key: options.css_pain_points.animations.description
t: 创建动画和过渡效果
# CSS missing features (same as features section)
- key: options.css_missing_features.nesting
t: 原生嵌套
- key: options.css_missing_features.nesting.description
t: 能够在原生CSS中嵌套样式。
- key: options.css_missing_features.parent_selector
t: 父选择器
- key: options.css_missing_features.parent_selector.description
t: 基于父元素的子元素以其为目标的能力。
- key: options.css_missing_features.browser_support
t: 浏览器支持
- key: options.css_missing_features.browser_support.description
t: 更好地支持现有功能的浏览器。
- key: options.css_missing_features.mixins
t: Mixins
- key: options.css_missing_features.mixins.description
t: 动态分组和重用定义。
- key: options.css_missing_features.color_functions
aliasFor: features.color_functions
- key: options.css_missing_features.color_functions.description
aliasFor: features.color_functions.description
- key: options.css_missing_features.container_queries
t: 容器查询
- key: options.css_missing_features.container_queries.description
t: 能够基于父容器的维度编写样式。
- key: options.css_missing_features.scoping
t: 作用域
- key: options.css_missing_features.scoping.description
t: 能够更具体地说明样式的应用位置。
- key: options.css_missing_features.subgrid
t: 子网格布局
- key: options.css_missing_features.subgrid.description
t: 将更深层次的子栅格嵌套到父栅格中。
- key: options.css_missing_features.native_visually_hidden
t: 视觉上隐藏内容
- key: options.css_missing_features.native_visually_hidden.description
t: 原生支持视觉上隐藏内容。
- key: options.css_missing_features.generated_content_alt_text
t: 生成内容的替代文本
- key: options.css_missing_features.generated_content_alt_text.description
t: 为生成的(`::before`、 `::after`)内容添加替代文本。
- key: options.css_missing_features.animate_to_auto
t: 动画过渡到 `auto`
- key: options.css_missing_features.animate_to_auto.description
t: 将元素的尺寸用动画过渡到 `auto`。
- key: options.css_missing_features.anchored_positioning
t: 锚定定位
- key: options.css_missing_features.anchored_positioning.description
t: 将元素相对于任意其他元素的边缘进行定位。
- key: options.css_missing_features.wrapping_detection
t: 换行检测
- key: options.css_missing_features.wrapping_detection.description
t: 检测 flex 或 grid 元素何时换行到另一行。
- key: options.css_missing_features.more_pseudo_elements
t: 更多伪元素
- key: options.css_missing_features.more_pseudo_elements.description
t: 使每个元素拥有不止两个伪元素。
- key: options.css_missing_features.svg_in_css
t: SVG-in-CSS
- key: options.css_missing_features.svg_in_css.description
t: 在 CSS 代码内支持 SVG 语法(例如 `background`)。
- key: options.css_missing_features.grid_lines_styling
t: 网格线样式化
- key: options.css_missing_features.grid_lines_styling.description
t: 能够对划分网格的隐形线进行样式设置。
- key: options.css_missing_features.media_queries_variables
t: 媒体查询变量
- key: options.css_missing_features.media_queries_variables.description
t: 能够在媒体查询中使用变量。
- key: options.css_missing_features.masonry_layout
t: 砖石布局
- key: options.css_missing_features.masonry_layout.description
t: 原生支持 Pinterest 风格的自由流动网格布局。
- key: options.css_missing_features.css_toggle
t: CSS 开关
- key: options.css_missing_features.css_toggle.description
t: 将 "可切换值 "与元素关联的方法。
###########################################################################
# Features
###########################################################################
# layout
- key: features.regions
t: CSS 域布局(Regions)
- key: features.flexbox
t: 弹性盒模型 (Flexbox)
- key: features.multi_column
t: CSS 多列布局(Multi-Column)
- key: features.writing_modes
t: CSS 书写模式 (Writing Modes)
- key: features.exclusions
t: CSS Exclusions
- key: features.flexbox_gap
t: flexbox的间隙属性
- key: features.viewport_percentage_length_units
t: '小型、大型和动态视口单位'
- key: features.viewport_percentage_length_units.question
aliasFor: features.viewport_percentage_length_units
- key: features.break_rules
t: 截断规则
- key: features.break_rules.description
t: <code>break-inside</code>, <code>break-before</code>, <code>break-after</code>
- key: features.at_container
t: 容器查询
- key: features.at_container.description
t: <code>@container</code>查询
- key: features.viewport_percentage_length_units
t: 小型、大型和动态视口单位
# shapes & graphics
- key: features.shapes
t: CSS 形狀 (Shape)
- key: features.object_fit
t: <code>object-fit</code>
- key: features.clip_path
t: <<code>clip-path</code>
- key: features.masks
t: CSS 遮罩(Masks)
- key: features.filter_effects
t: CSS 滤镜效果
- key: features.linear_easing_function
t: "`linear()` 缓动函数"
- key: features.linear_easing_function.question
aliasFor: features.linear_easing_function
- key: features.blend_modes
t: 混合模式 (Blend Modes)
- key: features.intrinsic_sizing
t: 尺寸局限
- key: features.gradient_color_spaces
t: 插值颜色空间
# typography
- key: features.web_fonts
t: Web 字体 (@font-face)
- key: features.variable_fonts
t: 可变字体(Variable fonts)
- key: features.line_breaking
t: 换行属性 (Line breaking properties)
- key: features.direction.description
t: 也包含 <code>dir</code> HTML 属性。
# animations & transforms
- key: features.transitions
t: CSS 过渡(Transitions)
- key: features.transforms
t: CSS 变换(Transforms)
- key: features.animations
t: CSS 动画 (Animation)
- key: features.discrete_properties_animations
t: 离散特性动画
- key: features.discrete_properties_animations.description
t: 轻松为对话框和弹出窗口等可删除元素制作进入和退出动画。
# media queries
- key: features.tabindex
t: <code>tabindex</code> HTML 属性
- key: features.aria_attributes
t: ARIA HTML属性
- key: features.aria_attributes.description
t: <code>role</code> 和 <code>aria-label</code> 等等。
# other features
- key: features.variables
t: CSS 变量(自定属性)
- key: features.containment
t: CSS 约束 (Containment)
- key: features.css_nesting.description
t: 原生 CSS 嵌套,不包括预处理器或后处理器。
- key: features.trigonometric_functions
t: 三角函数
- key: features.exponential_functions
t: 指数函数
- key: features.sign_related_functions
t: 符号相关函数
- key: features.stepped_value_functions
t: 阶跃值函数
- key: features.css_nesting
t: CSS 嵌套
- key: features.shadow_dom_css
t: Shadow DOM 特性
- key: features.individual_transform_properties
t: 单独的 Transform 属性
- key: features.individual_transform_properties.question
aliasFor: features.individual_transform_properties
- key: features.comparison_functions
t: CSS 比较函数
- key: features.comparison_functions.question
aliasFor: features.comparison_functions
- key: features.math_functions
t: CSS 数学函数
- key: features.viewport_units
t: 视口单位 (`vh`, `vw`)
- key: features.cascade_layers
t: 级联层次
- key: features.cascade_layers.question
aliasFor: features.cascade_layers
# missing features (see also options)
- key: features.nesting
t: 原生嵌套
- key: features.nesting.description
t: 能够在原生CSS中嵌套样式。
- key: features.parent_selector
t: 父选择器
- key: features.parent_selector.description
t: 基于父元素的子元素以其为目标的能力。
- key: features.browser_support
t: 浏览器支持
- key: features.browser_support.description
t: 更好地支持现有功能的浏览器。
- key: features.mixins
t: Mixins
- key: features.mixins.description
t: 动态分组和重用定义。
- key: features.color_functions
t: 颜色函数
- key: features.color_functions.description
t: 用于操纵颜色值的函数。
- key: features.container_queries
t: 容器查询
- key: features.container_queries.description
t: 能够基于父容器的维度编写样式。
- key: features.scoping
t: 作用域
- key: features.scoping.description
t: 能够更具体地说明样式的应用位置。
###########################################################################
# Units & Selectors
###########################################################################
- key: features_others.units
t: 单位
- key: features_others.units.description
t: 你曾用过哪些 CSS 单位?
- key: options.units.px
t: px
- key: options.units.pt
t: pt
- key: options.units.percent
t: "%"
- key: options.units.em
t: em
- key: options.units.rem
t: rem
- key: options.units.vh_vw
t: vh, vw
- key: options.units.vmin_vmax
t: vmin, vmax
- key: options.units.ch
t: ch
- key: options.units.ex
t: ex
- key: options.units.mm
t: mm
- key: options.units.cm
t: cm
- key: options.units.in
t: in
- key: features_others.pseudo_elements
t: 伪元素
- key: features_others.pseudo_elements.description
t: 你曾使用过哪些 CSS 伪元素?
- key: options.pseudo_elements.before
t: "::before"
- key: options.pseudo_elements.after
t: "::after"
- key: options.pseudo_elements.first_line
t: "::first-line"
- key: options.pseudo_elements.first_letter
t: "::first-letter"
- key: options.pseudo_elements.selection
t: "::selection"
- key: options.pseudo_elements.placeholder
t: "::placeholder"
- key: options.pseudo_elements.marker
t: "::marker"
- key: options.pseudo_elements.backdrop
t: "::backdrop"
- key: features_others.combinators
t: 关系选择器 (Combinators)
- key: features_others.combinators.description
t: 你曾使用哪些关系选择器?
- key: options.combinators.descendant
t: div span (后代选择器)
- key: options.combinators.child
t: div > span (子代选择器)
- key: options.combinators.next_sibling
t: div + div (领接兄弟选择器)
- key: options.combinators.subsequent_sibling
t: div ~ div (通用兄弟选择器)
- key: features_others.tree_document_structure
t: 伪类选择器
- key: features_others.tree_document_structure.description
t: 你曾使用哪些伪类选择器?
- key: options.tree_document_structure.root
t: :root
- key: options.tree_document_structure.empty
t: :empty
- key: options.tree_document_structure.not
t: :not()
- key: options.tree_document_structure.nth_child
t: :nth-child()
- key: options.tree_document_structure.nth_last_child
t: :nth-last-child()
- key: options.tree_document_structure.first_child
t: :first-child
- key: options.tree_document_structure.last_child
t: :last-child
- key: options.tree_document_structure.only_child
t: :only-child
- key: options.tree_document_structure.nth_of_type
t: :nth-of-type()
- key: options.tree_document_structure.nth_last_of_type
t: :nth-last-of-type()
- key: options.tree_document_structure.first_of_type
t: :first-of-type
- key: options.tree_document_structure.last_of_type
t: :last-of-type
- key: options.tree_document_structure.only_of_type
t: :only-of-type
- key: options.tree_document_structure.lang
t: :lang()
- key: options.tree_document_structure.is
t: :is()
- key: options.tree_document_structure.where
t: :where()
- key: options.tree_document_structure.has
t: :has()
- key: features_others.attributes
t: 属性选择器
- key: features_others.attributes.description
t: 你曾使用哪些属性选择器?
- key: options.attributes.presence
t: div[foo]
- key: options.attributes.equality
t: div[foo="bar"]
- key: options.attributes.starts_with
t: div[foo^="bar"]
- key: options.attributes.ends_with
t: div[foo$="bar"]
- key: options.attributes.contains_word
t: div[foo~="bar"]
- key: options.attributes.contains_substring
t: div[foo*="bar"]
- key: features_others.links_urls
t: 链接/网址
- key: features_others.links_urls.description
t: 你曾使用哪些关于链接的选择器?
- key: options.links_urls.any_link
t: :any-link
- key: options.links_urls.link_visited
t: :link and :visited
- key: options.links_urls.local_link
t: :local-link
- key: options.links_urls.target
t: :target
- key: features_others.interaction
t: 交互
- key: features_others.interaction.description
t: 你曾使用哪些关于交互的选择器?
- key: options.interaction.hover
t: :hover
- key: options.interaction.active
t: :active
- key: options.interaction.focus
t: :focus
- key: options.interaction.focus_within
t: :focus-within
- key: options.interaction.focus_visible
t: :focus-visible
- key: features_others.form_controls
t: 表单控制
- key: features_others.form_controls.description
t: 你曾使用哪些关于表单控制的选择器?
- key: options.form_controls.enabled_disabled
t: :enabled and :disabled
- key: options.form_controls.read_only_write
t: :read-only and :read-write
- key: options.form_controls.placeholder_shown
t: :placeholder-shown
- key: options.form_controls.default
t: :default
- key: options.form_controls.checked
t: :checked
- key: options.form_controls.indeterminate
t: :indeterminate
- key: options.form_controls.valid_invalid
t: :valid and :invalid
- key: options.form_controls.user_invalid
t: :user-invalid
- key: options.form_controls.in_out_range
t: :in-range and :out-of-range
- key: options.form_controls.required_optional
t: :required and :optional
# slider
- key: options.css_js_balance.0
t: 100% CSS
- key: options.css_js_balance.1
t: "|"
- key: options.css_js_balance.2
t: "|"
- key: options.css_js_balance.3
t: "|"
- key: options.css_js_balance.4
t: 50%–50%
- key: options.css_js_balance.5
t: "|"
- key: options.css_js_balance.6
t: "|"
- key: options.css_js_balance.7
t: "|"
- key: options.css_js_balance.8
t: 100% JS
###########################################################################
# Other Tools
###########################################################################
- key: tools.css_frameworks
t: CSS 框架
- key: tools.css_frameworks.question
t: 您使用哪些 CSS 框架?
- key: tools.css_frameworks.prompt
t: 为你提供预制组件或样式的框架或库。
- key: tools.css_in_js
t: CSS-in-JS
- key: tools.css_in_js.question
t: 您使用哪些 CSS-in-JS 库?
- key: tools_others.pre_post_processors
aliasFor: sections.pre_post_processors.title
- key: other_tools.pre_post_processors
aliasFor: sections.pre_post_processors.title
- key: tools_others.pre_post_processors.question
t: 您常用哪些预处理器或后处理器?
- key: other_tools.pre_post_processors.description
aliasFor: tools_others.pre_post_processors.question
- key: tools_others.pre_post_processors.others
aliasFor: sections.pre_post_processors_others.title
- key: other_tools.pre_post_processors.others
aliasFor: sections.pre_post_processors_others.title
- key: options.pre_post_processors.na
t: 无
- key: tools.pre_post_processors
aliasFor: sections.pre_post_processors.title
- key: tools.pre_post_processors.question
aliasFor: tools_others.pre_post_processors.question
- key: tools_others.utilities
t: 工具
- key: tools_others.utilities.question
t: 您常用哪些实用程序或工具?
- key: tools_others.utilities.others
t: 其他工具
- key: tools_others.utilities.others.description
t: 其他工具 (自由输入)。
- key: options.utilities.na
t: 无
- key: other_tools.utilities
aliasFor: tools_others.utilities
- key: other_tools.utilities.description
aliasFor: tools_others.utilities.question
- key: other_tools.utilities.others
aliasFor: tools_others.utilities.others
- key: other_tools.utilities.others.description
aliasFor: tools_others.utilities.others.description
- key: other_tools.utilities_freeform
aliasFor: tools_others.utilities.others
- key: tools.utilities
aliasFor: tools_others.utilities
- key: tools.utilities.question
aliasFor: tools_others.utilities.question
- key: tools_others.browsers
t: 浏览器
- key: tools_others.browsers.question
t: 在初始开发阶段,您主要使用哪个浏览器?
- key: tools_others.browsers.others
t: 其他浏览器
- key: tools_others.browsers.others.description
t: 其他答案 (自由输入)。
- key: tools.browsers
aliasFor: tools_others.browsers
- key: tools.browsers.question
aliasFor: tools_others.browsers.question
- key: other_tools.browsers
aliasFor: tools_others.browsers
- key: other_tools.browsers.description
aliasFor: tools_others.browsers.question
- key: other_tools.browsers.others
aliasFor: tools_others.browsers.others
- key: other_tools.browsers.others.description
aliasFor: tools_others.browsers.others.description
###########################################################################
# Environments
###########################################################################
- key: environments.browsers
t: 浏览器
- key: environments.browsers.description
t: 在那些浏览器中进行测试?
- key: environments.form_factors
t: 测试环境
- key: environments.form_factors.question
t: 您会在哪些设备或环境中进行测试?
- key: environments.form_factors.others
t: 其他测试环境
- key: environments.form_factors.others.description
t: 您通常在哪些其他设备或环境上进行测试?
- key: usage.form_factors
aliasFor: environments.form_factors
- key: usage.form_factors.question
aliasFor: environments.form_factors.question
- key: usage.form_factors.others
aliasFor: environments.form_factors.others
- key: usage.form_factors_freeform
aliasFor: environments.form_factors.others
- key: usage.form_factors.others.description
aliasFor: environments.form_factors.others.description
- key: environments.accessibility_features
t: 辅助功能
- key: environments.accessibility_features.question
t: 你通常实施哪些辅助功能?
- key: environments.accessibility_features.others
t: 其他辅助功能
- key: environments.accessibility_features.others.description
t: 你通常实现的其他辅助功能
- key: environments.css_for_print
t: 用于打印的CSS
- key: environments.css_for_print.question
t: 使用过打印样式(print styles)吗?
- key: environments.css_for_email
t: CSS for Email 客户端
- key: environments.css_for_email.question
t: 有些写过邮件客户端样式吗?
- key: environments.what_do_you_use_css_for
t: 你主要使用CSS做什么?
- key: environments.what_do_you_use_css_for.question
t: 你通常使用CSS做什么样的项目?
- key: environments.what_do_you_use_css_for.others
t: 其他类型的项目
- key: usage.what_do_you_use_css_for
aliasFor: environments.what_do_you_use_css_for
- key: usage.what_do_you_use_css_for.question
aliasFor: environments.what_do_you_use_css_for.question
- key: usage.what_do_you_use_css_for
aliasFor: environments.what_do_you_use_css_for
- key: usage.what_do_you_use_css_for.others
aliasFor: environments.what_do_you_use_css_for.others
- key: usage.what_do_you_use_css_for_freeform
aliasFor: environments.what_do_you_use_css_for.others
- key: charts.axis_legends.css_for_print
t: 频率
- key: charts.axis_legends.css_for_email
t: 频率
- key: tools_others.tool_evaluation
t: 评估代码库
- key: tools_others.tool_evaluation.description
t: 对于每个匹配项,选择你在评估新代码库时优先考虑的因素。
###########################################################################
# Opinions
###########################################################################
- key: opinions.css_easy_to_learn
t: CSS 是否易于学习
- key: opinions.css_easy_to_learn.title
t: 学习曲线
- key: opinions.css_evolving_slowly
t: CSS 的演进速度慢
- key: opinions.css_evolving_slowly.title
t: 更新频率
- key: opinions.utility_classes_to_be_avoided
t: 应避免如 「.center、 .large-text」 等非语义、机械式类名
- key: opinions.utility_classes_to_be_avoided.title
t: 非语义类名
- key: opinions.selector_nesting_to_be_avoided
t: 应避免像是「.foo .bar ul li {...}」 这样的选择器嵌套
- key: opinions.selector_nesting_to_be_avoided.title
t: 选择器嵌套
- key: opinions.css_is_programming_language
t: CSS 是一门编程语言
- key: opinions.css_is_programming_language.title
t: 编程语言
- key: opinions.enjoy_writing_css
t: 我乐意写 CSS
- key: opinions.enjoy_writing_css.title
t: 愉悦感
# Browser interoperability question
- key: opinions_others.browser_interoperability_features.others
t: 浏览器不兼容性
- key: opinions_others.browser_interoperability_features.others.description
t: >
你是否有因为浏览器之间的差异,
导致在使用 CSS 时遇到困难?
- key: usage.css_interoperability_features
aliasFor: opinions_others.browser_interoperability_features.others
- key: usage.css_interoperability_features.question
aliasFor: opinions_others.browser_interoperability_features.others.description
- key: usage.css_interoperability_features_freeform
aliasFor: opinions_others.browser_interoperability_features.others
- key: usage.interoperability_features_freeform
aliasFor: opinions_others.browser_interoperability_features.others
- key: usage.interoperability_features_freeform.others
aliasFor: opinions_others.browser_interoperability_features.others
- key: usage.interoperability_features_freeform.description
aliasFor: opinions_others.browser_interoperability_features.others.description
- key: usage.interoperability_features_freeform.others.description
aliasFor: opinions_others.browser_interoperability_features.others.description
- key: options.css_interoperability_features.math_functions
aliasFor: features.math_functions
- key: options.css_interoperability_features.css_nesting
aliasFor: features.css_nesting
- key: options.css_interoperability_features.at_container
aliasFor: features.at_container
- key: options.css_interoperability_features.color_functions
aliasFor: features.color_functions
- key: options.css_interoperability_features.color_functions.description
aliasFor: features.color_functions.description
- key: options.css_interoperability_features.cascade_layers
aliasFor: features.cascade_layers
- key: options.css_interoperability_features.scrollbar
t: 滚动条样式
- key: options.css_interoperability_features.na
t: 无
# Pain Points
- key: opinions.css_pain_points
t: CSS 痛点
- key: opinions.css_pain_points.description
t: 对于每一项,选择你觉得CSS最让人头疼的点。
- key: usage.other_pain_points_freeform
t: 写 CSS 的时候是否还有其他痛点?
- key: usage.other_pain_points_freeform.others
aliasFor: usage.other_pain_points_freeform
- key: opinions_others.css_pain_points.others
t: 其他 CSS 痛点
- key: usage.css_pain_points
aliasFor: opinions_others.css_pain_points.others
- key: usage.css_pain_points.question
aliasFor: usage.other_pain_points_freeform
- key: usage.css_pain_points_freeform
aliasFor: usage.other_pain_points_freeform
- key: options.css_pain_points.na
t: 无
# Missing Features
- key: opinions.css_missing_features
t: 你觉得 CSS 目前缺少什么?
- key: opinions.css_missing_features.description
t: 对于每个匹配,选择你最希望能够在 CSS 中使用的功能。
- key: opinions_others.css_missing_features.others
t: 目前觉得 CSS 缺少什么?
- key: opinions_others.css_missing_features.others.note
t: >
这些结果根据调查内容进行了标准化处理。
要查看原始的、未处理的结果,请查看 [whatsmissingfromcss.com](http://whatsmissingfromcss.com/)。
- key: usage.missing_features_freeform
t: 您认为 CSS 目前完全缺少哪些功能?
- key: usage.missing_features_freeform.others
aliasFor: usage.missing_features_freeform
- key: usage.css_missing_features
t: 缺失的功能
- key: usage.css_missing_features.question
aliasFor: usage.missing_features_freeform