V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ChefIsAwesome
V2EX  ›  问与答

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

  •  
  •   ChefIsAwesome · 2015-08-26 16:16:55 +08:00 · 1664 次点击
    这是一个创建于 3156 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

    3 条回复    2015-08-27 04:12:19 +08:00
    KaoN
        1
    KaoN  
       2015-08-26 16:19:43 +08:00
    property ?
    learnshare
        2
    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
        3
    statm  
       2015-08-27 04:12:19 +08:00
    composite
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2983 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 15:15 · PVG 23:15 · LAX 08:15 · JFK 11:15
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.