cp--grid-size Attribute | cpGridSize Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Sets or retrieves the number of colors that are displayed by the colorpick behavior.


CSS { cp--grid-size : iSize }
Scripting [ iSize = ] colorpick.style.cpGridSize

Possible Values

iSize Integer that specifies or receives one of the following values.
A grid of 8 colors is displayed.
Default. A grid of 27 colors is displayed.
A grid of 64 colors is displayed.

The property is read/write. The property has a default value of 3. The Cascading Style Sheets (CSS) attribute is inherited.

Applies To