英语里的哪个词能描述 css 里 transform, color 那样的复合属性

2015-08-26 16:16:55 +08:00
 ChefIsAwesome

transform 是由 scale, rotate, translate 三个子属性组成的。
color 如果用的 rgb 格式的话,可以看做是 r, g, b 三个子属性。

英语里怎么描述像他们那样的属性。我想着是 bundle 或者 collection ,不知道用哪个好点。

1674 次点击
所在节点    问与答
3 条回复
KaoN
2015-08-26 16:19:43 +08:00
property ?
learnshare
2015-08-26 16:31:58 +08:00
color 只有一个参数,即使用 rgb (r, g, b ),也是获取这个函数的返回值而已;
border: solid 1px #0AF; 这种才是复合属性吧,貌似是 'shorthand' (缩写)
https://developer.mozilla.org/en-US/docs/Web/CSS/border
statm
2015-08-27 04:12:19 +08:00
composite

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/216150

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX