• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# grid-container<a name="EN-US_TOPIC_0000001162494625"></a>
2
3-   [Permission List](#en-us_topic_0000001062133103_section11257113618419)
4-   [Child Component](#en-us_topic_0000001062133103_section9288143101012)
5-   [Attribute](#en-us_topic_0000001062133103_section5248929161316)
6-   [Style](#en-us_topic_0000001062133103_section16690243163414)
7-   [Event](#en-us_topic_0000001062133103_section291933813509)
8-   [Method](#en-us_topic_0000001062133103_section13156101584913)
9
10The  **<grid-container\>**  component is the root container of the grid layout. Within the root container, you can use  **<grid-row\>**  and  **<gird-col\>**  for the grid layout.
11
12## Permission List<a name="en-us_topic_0000001062133103_section11257113618419"></a>
13
14None
15
16## Child Component<a name="en-us_topic_0000001062133103_section9288143101012"></a>
17
18Only the  **<grid-row\>**  component is supported.
19
20## Attribute<a name="en-us_topic_0000001062133103_section5248929161316"></a>
21
22<a name="en-us_topic_0000001062133103_table20633101642315"></a>
23<table><thead align="left"><tr id="en-us_topic_0000001062133103_row663331618238"><th class="cellrowborder" valign="top" width="23.119999999999997%" id="mcps1.1.6.1.1"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p942mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p942mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p942mcpsimp"></a>Name</p>
24</th>
25<th class="cellrowborder" valign="top" width="23.119999999999997%" id="mcps1.1.6.1.2"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p944mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p944mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p944mcpsimp"></a>Type</p>
26</th>
27<th class="cellrowborder" valign="top" width="10.48%" id="mcps1.1.6.1.3"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p946mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p946mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p946mcpsimp"></a>Default Value</p>
28</th>
29<th class="cellrowborder" valign="top" width="7.5200000000000005%" id="mcps1.1.6.1.4"><p id="en-us_topic_0000001062133103_p824610360217"><a name="en-us_topic_0000001062133103_p824610360217"></a><a name="en-us_topic_0000001062133103_p824610360217"></a>Mandatory</p>
30</th>
31<th class="cellrowborder" valign="top" width="35.76%" id="mcps1.1.6.1.5"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p948mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p948mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p948mcpsimp"></a>Description</p>
32</th>
33</tr>
34</thead>
35<tbody><tr id="en-us_topic_0000001062133103_row18693825133018"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_p6247162723015"><a name="en-us_topic_0000001062133103_p6247162723015"></a><a name="en-us_topic_0000001062133103_p6247162723015"></a>columns</p>
36</td>
37<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_p824742753016"><a name="en-us_topic_0000001062133103_p824742753016"></a><a name="en-us_topic_0000001062133103_p824742753016"></a>string | number</p>
38</td>
39<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_p102474272303"><a name="en-us_topic_0000001062133103_p102474272303"></a><a name="en-us_topic_0000001062133103_p102474272303"></a>auto</p>
40</td>
41<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p0247112733012"><a name="en-us_topic_0000001062133103_p0247112733012"></a><a name="en-us_topic_0000001062133103_p0247112733012"></a>No</p>
42</td>
43<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_p224762773015"><a name="en-us_topic_0000001062133103_p224762773015"></a><a name="en-us_topic_0000001062133103_p224762773015"></a>Total number of columns in the grid. If a value of the string type is set, it can only be <strong id="en-us_topic_0000001062133103_b7289163434214"><a name="en-us_topic_0000001062133103_b7289163434214"></a><a name="en-us_topic_0000001062133103_b7289163434214"></a>auto</strong>. In this case, the total number of columns is determined based on the current <strong id="en-us_topic_0000001062133103_b9588131715436"><a name="en-us_topic_0000001062133103_b9588131715436"></a><a name="en-us_topic_0000001062133103_b9588131715436"></a>sizetype</strong>, which can be one of the following values:</p>
44<a name="en-us_topic_0000001062133103_ul9387744161011"></a><a name="en-us_topic_0000001062133103_ul9387744161011"></a><ul id="en-us_topic_0000001062133103_ul9387744161011"><li><strong id="en-us_topic_0000001062133103_b2081320274437"><a name="en-us_topic_0000001062133103_b2081320274437"></a><a name="en-us_topic_0000001062133103_b2081320274437"></a>xs</strong>: 2 columns</li><li><strong id="en-us_topic_0000001062133103_b712963416437"><a name="en-us_topic_0000001062133103_b712963416437"></a><a name="en-us_topic_0000001062133103_b712963416437"></a>sm</strong>: 4 columns</li><li><strong id="en-us_topic_0000001062133103_b420975024310"><a name="en-us_topic_0000001062133103_b420975024310"></a><a name="en-us_topic_0000001062133103_b420975024310"></a>md</strong>: 8 columns</li><li><strong id="en-us_topic_0000001062133103_b183281655114316"><a name="en-us_topic_0000001062133103_b183281655114316"></a><a name="en-us_topic_0000001062133103_b183281655114316"></a>lg</strong>: 12 columns</li></ul>
45</td>
46</tr>
47<tr id="en-us_topic_0000001062133103_row2866142283019"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_p52471927173014"><a name="en-us_topic_0000001062133103_p52471927173014"></a><a name="en-us_topic_0000001062133103_p52471927173014"></a>sizetype</p>
48</td>
49<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_p92470270304"><a name="en-us_topic_0000001062133103_p92470270304"></a><a name="en-us_topic_0000001062133103_p92470270304"></a>string</p>
50</td>
51<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_p5247172773018"><a name="en-us_topic_0000001062133103_p5247172773018"></a><a name="en-us_topic_0000001062133103_p5247172773018"></a>auto</p>
52</td>
53<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p124772703014"><a name="en-us_topic_0000001062133103_p124772703014"></a><a name="en-us_topic_0000001062133103_p124772703014"></a>No</p>
54</td>
55<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_p7247627163020"><a name="en-us_topic_0000001062133103_p7247627163020"></a><a name="en-us_topic_0000001062133103_p7247627163020"></a>Size-responsive type of the grid. Available values are <strong id="en-us_topic_0000001062133103_b91463252455"><a name="en-us_topic_0000001062133103_b91463252455"></a><a name="en-us_topic_0000001062133103_b91463252455"></a>xs</strong>, <strong id="en-us_topic_0000001062133103_b1714732794517"><a name="en-us_topic_0000001062133103_b1714732794517"></a><a name="en-us_topic_0000001062133103_b1714732794517"></a>sm</strong>, <strong id="en-us_topic_0000001062133103_b15924192884519"><a name="en-us_topic_0000001062133103_b15924192884519"></a><a name="en-us_topic_0000001062133103_b15924192884519"></a>md</strong>, and <strong id="en-us_topic_0000001062133103_b15978430104510"><a name="en-us_topic_0000001062133103_b15978430104510"></a><a name="en-us_topic_0000001062133103_b15978430104510"></a>lg</strong>. If the default value <strong id="en-us_topic_0000001062133103_b101844241462"><a name="en-us_topic_0000001062133103_b101844241462"></a><a name="en-us_topic_0000001062133103_b101844241462"></a>auto</strong> is used, the framework automatically selects one of the four types based on the current container size.</p>
56</td>
57</tr>
58<tr id="en-us_topic_0000001062133103_row275616196304"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_p9247122719308"><a name="en-us_topic_0000001062133103_p9247122719308"></a><a name="en-us_topic_0000001062133103_p9247122719308"></a>gutter</p>
59</td>
60<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_p1424718278304"><a name="en-us_topic_0000001062133103_p1424718278304"></a><a name="en-us_topic_0000001062133103_p1424718278304"></a>&lt;length&gt;</p>
61</td>
62<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_p92471627133011"><a name="en-us_topic_0000001062133103_p92471627133011"></a><a name="en-us_topic_0000001062133103_p92471627133011"></a>24px</p>
63</td>
64<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p15247202713010"><a name="en-us_topic_0000001062133103_p15247202713010"></a><a name="en-us_topic_0000001062133103_p15247202713010"></a>No</p>
65</td>
66<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_p16247192714308"><a name="en-us_topic_0000001062133103_p16247192714308"></a><a name="en-us_topic_0000001062133103_p16247192714308"></a>Gutter width</p>
67</td>
68</tr>
69<tr id="en-us_topic_0000001062133103_row36332165231"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p952mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p952mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p952mcpsimp"></a>id</p>
70</td>
71<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p954mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p954mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p954mcpsimp"></a>string</p>
72</td>
73<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p956mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p956mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p956mcpsimp"></a>-</p>
74</td>
75<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p42461736102118"><a name="en-us_topic_0000001062133103_p42461736102118"></a><a name="en-us_topic_0000001062133103_p42461736102118"></a>No</p>
76</td>
77<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p958mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p958mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p958mcpsimp"></a>Unique ID of a component.</p>
78</td>
79</tr>
80<tr id="en-us_topic_0000001062133103_row13633131616239"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p961mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p961mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p961mcpsimp"></a>style</p>
81</td>
82<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p963mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p963mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p963mcpsimp"></a>string</p>
83</td>
84<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p965mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p965mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p965mcpsimp"></a>-</p>
85</td>
86<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p17246836142119"><a name="en-us_topic_0000001062133103_p17246836142119"></a><a name="en-us_topic_0000001062133103_p17246836142119"></a>No</p>
87</td>
88<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p967mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p967mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p967mcpsimp"></a>Style declaration of a component.</p>
89</td>
90</tr>
91<tr id="en-us_topic_0000001062133103_row10634131610230"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p970mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p970mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p970mcpsimp"></a>class</p>
92</td>
93<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p972mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p972mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p972mcpsimp"></a>string</p>
94</td>
95<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p974mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p974mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p974mcpsimp"></a>-</p>
96</td>
97<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p324614367213"><a name="en-us_topic_0000001062133103_p324614367213"></a><a name="en-us_topic_0000001062133103_p324614367213"></a>No</p>
98</td>
99<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p976mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p976mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p976mcpsimp"></a>Style class of a component, which is used to refer to a style table.</p>
100</td>
101</tr>
102<tr id="en-us_topic_0000001062133103_row1634171618236"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p1786251117156"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p1786251117156"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p1786251117156"></a>ref</p>
103</td>
104<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p1086241119157"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p1086241119157"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p1086241119157"></a>string</p>
105</td>
106<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p586281111151"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p586281111151"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p586281111151"></a>-</p>
107</td>
108<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p1624612362219"><a name="en-us_topic_0000001062133103_p1624612362219"></a><a name="en-us_topic_0000001062133103_p1624612362219"></a>No</p>
109</td>
110<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p113416153342"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p113416153342"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_p113416153342"></a>Used to register reference information of child elements<span id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_ph5815920163518"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_ph5815920163518"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_ph5815920163518"></a> or child components</span>. The reference information is registered with the parent component on <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_b08212202354"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_b08212202354"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_b08212202354"></a>$refs</strong>.</p>
111</td>
112</tr>
113<tr id="en-us_topic_0000001062133103_row1863421642313"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p979mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p979mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p979mcpsimp"></a>disabled</p>
114</td>
115<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p981mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p981mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p981mcpsimp"></a>boolean</p>
116</td>
117<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p983mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p983mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p983mcpsimp"></a>false</p>
118</td>
119<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p192476368214"><a name="en-us_topic_0000001062133103_p192476368214"></a><a name="en-us_topic_0000001062133103_p192476368214"></a>No</p>
120</td>
121<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p985mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p985mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p985mcpsimp"></a>Whether the component is disabled. If it is disabled, it cannot respond to user interaction.</p>
122</td>
123</tr>
124<tr id="en-us_topic_0000001062133103_row1263451617236"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p997mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p997mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p997mcpsimp"></a>data</p>
125</td>
126<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p999mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p999mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p999mcpsimp"></a>string</p>
127</td>
128<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p1001mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p1001mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p1001mcpsimp"></a>-</p>
129</td>
130<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p22471736132114"><a name="en-us_topic_0000001062133103_p22471736132114"></a><a name="en-us_topic_0000001062133103_p22471736132114"></a>No</p>
131</td>
132<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p1003mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p1003mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050831187_en-us_topic_0000000000611464_p1003mcpsimp"></a>Attribute set for components to facilitate data storage and reading.</p>
133</td>
134</tr>
135</tbody>
136</table>
137
138## Style<a name="en-us_topic_0000001062133103_section16690243163414"></a>
139
140<a name="en-us_topic_0000001062133103_table1744514388541"></a>
141<table><thead align="left"><tr id="en-us_topic_0000001062133103_row1244614388545"><th class="cellrowborder" valign="top" width="23.11768823117688%" id="mcps1.1.6.1.1"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1060mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1060mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1060mcpsimp"></a>Name</p>
142</th>
143<th class="cellrowborder" valign="top" width="12.80871912808719%" id="mcps1.1.6.1.2"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1062mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1062mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1062mcpsimp"></a>Type</p>
144</th>
145<th class="cellrowborder" valign="top" width="13.498650134986503%" id="mcps1.1.6.1.3"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1064mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1064mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1064mcpsimp"></a>Default Value</p>
146</th>
147<th class="cellrowborder" valign="top" width="7.56924307569243%" id="mcps1.1.6.1.4"><p id="en-us_topic_0000001062133103_p117421754619"><a name="en-us_topic_0000001062133103_p117421754619"></a><a name="en-us_topic_0000001062133103_p117421754619"></a>Mandatory</p>
148</th>
149<th class="cellrowborder" valign="top" width="43.00569943005699%" id="mcps1.1.6.1.5"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1066mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1066mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1066mcpsimp"></a>Description</p>
150</th>
151</tr>
152</thead>
153<tbody><tr id="en-us_topic_0000001062133103_row1279145112463"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_p961654212431"><a name="en-us_topic_0000001062133103_p961654212431"></a><a name="en-us_topic_0000001062133103_p961654212431"></a>justify-content</p>
154</td>
155<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_p86163428431"><a name="en-us_topic_0000001062133103_p86163428431"></a><a name="en-us_topic_0000001062133103_p86163428431"></a>string</p>
156</td>
157<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_p26161142184319"><a name="en-us_topic_0000001062133103_p26161142184319"></a><a name="en-us_topic_0000001062133103_p26161142184319"></a>flex-start</p>
158</td>
159<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p1561694284310"><a name="en-us_topic_0000001062133103_p1561694284310"></a><a name="en-us_topic_0000001062133103_p1561694284310"></a>No</p>
160</td>
161<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_p176161342184317"><a name="en-us_topic_0000001062133103_p176161342184317"></a><a name="en-us_topic_0000001062133103_p176161342184317"></a>How items are aligned along the main axis of the current row in the container. Available values are as follows:</p>
162<a name="en-us_topic_0000001062133103_ul5616174210438"></a><a name="en-us_topic_0000001062133103_ul5616174210438"></a><ul id="en-us_topic_0000001062133103_ul5616174210438"><li><strong id="en-us_topic_0000001062133103_b17911139145217"><a name="en-us_topic_0000001062133103_b17911139145217"></a><a name="en-us_topic_0000001062133103_b17911139145217"></a>flex-start</strong>: Items are packed towards the start row.</li><li><strong id="en-us_topic_0000001062133103_b193124395211"><a name="en-us_topic_0000001062133103_b193124395211"></a><a name="en-us_topic_0000001062133103_b193124395211"></a>flex-end</strong>: Items are packed towards the end row.</li><li><strong id="en-us_topic_0000001062133103_b063613065314"><a name="en-us_topic_0000001062133103_b063613065314"></a><a name="en-us_topic_0000001062133103_b063613065314"></a>center</strong>: Items are centered along the row.</li><li><strong id="en-us_topic_0000001062133103_b1422833115316"><a name="en-us_topic_0000001062133103_b1422833115316"></a><a name="en-us_topic_0000001062133103_b1422833115316"></a>space-between</strong>: Items are positioned with space between the rows.</li><li><strong id="en-us_topic_0000001062133103_b129545810533"><a name="en-us_topic_0000001062133103_b129545810533"></a><a name="en-us_topic_0000001062133103_b129545810533"></a>space-around</strong>: Items are positioned with space before, between, and after the rows.</li></ul>
163</td>
164</tr>
165<tr id="en-us_topic_0000001062133103_row746174864619"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_p12617942184311"><a name="en-us_topic_0000001062133103_p12617942184311"></a><a name="en-us_topic_0000001062133103_p12617942184311"></a>align-items</p>
166</td>
167<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_p15617194264312"><a name="en-us_topic_0000001062133103_p15617194264312"></a><a name="en-us_topic_0000001062133103_p15617194264312"></a>string</p>
168</td>
169<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_p061744213433"><a name="en-us_topic_0000001062133103_p061744213433"></a><a name="en-us_topic_0000001062133103_p061744213433"></a>stretch</p>
170</td>
171<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p12617154214437"><a name="en-us_topic_0000001062133103_p12617154214437"></a><a name="en-us_topic_0000001062133103_p12617154214437"></a>No</p>
172</td>
173<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_p9617542124318"><a name="en-us_topic_0000001062133103_p9617542124318"></a><a name="en-us_topic_0000001062133103_p9617542124318"></a>How items are aligned along the cross axis of the current row in the container. Available values are as follows:</p>
174<a name="en-us_topic_0000001062133103_ul166171442134312"></a><a name="en-us_topic_0000001062133103_ul166171442134312"></a><ul id="en-us_topic_0000001062133103_ul166171442134312"><li><strong id="en-us_topic_0000001062133103_b8703123113530"><a name="en-us_topic_0000001062133103_b8703123113530"></a><a name="en-us_topic_0000001062133103_b8703123113530"></a>stretch</strong>: Items are stretched to the same height or width as the container in the cross axis direction. </li><li><strong id="en-us_topic_0000001062133103_b1293748165310"><a name="en-us_topic_0000001062133103_b1293748165310"></a><a name="en-us_topic_0000001062133103_b1293748165310"></a>flex-start</strong>: Items are aligned to the start of the cross axis.</li><li><strong id="en-us_topic_0000001062133103_b19207758165313"><a name="en-us_topic_0000001062133103_b19207758165313"></a><a name="en-us_topic_0000001062133103_b19207758165313"></a>flex-end</strong>: Items are aligned to the end of the cross axis.</li><li><strong id="en-us_topic_0000001062133103_b187584235412"><a name="en-us_topic_0000001062133103_b187584235412"></a><a name="en-us_topic_0000001062133103_b187584235412"></a>center</strong>: Items are aligned in the middle of the cross axis.</li></ul>
175</td>
176</tr>
177<tr id="en-us_topic_0000001062133103_row5828154518465"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_p661810427433"><a name="en-us_topic_0000001062133103_p661810427433"></a><a name="en-us_topic_0000001062133103_p661810427433"></a>align-content</p>
178</td>
179<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_p186181042174316"><a name="en-us_topic_0000001062133103_p186181042174316"></a><a name="en-us_topic_0000001062133103_p186181042174316"></a>string</p>
180</td>
181<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_p19618144284315"><a name="en-us_topic_0000001062133103_p19618144284315"></a><a name="en-us_topic_0000001062133103_p19618144284315"></a>flex-start</p>
182</td>
183<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p461804254314"><a name="en-us_topic_0000001062133103_p461804254314"></a><a name="en-us_topic_0000001062133103_p461804254314"></a>No</p>
184</td>
185<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_p13619134216439"><a name="en-us_topic_0000001062133103_p13619134216439"></a><a name="en-us_topic_0000001062133103_p13619134216439"></a>Multi-row alignment mode when there is extra space in the cross axis. Available values are as follows:</p>
186<a name="en-us_topic_0000001062133103_ul56191424436"></a><a name="en-us_topic_0000001062133103_ul56191424436"></a><ul id="en-us_topic_0000001062133103_ul56191424436"><li><strong id="en-us_topic_0000001062133103_b1215673265411"><a name="en-us_topic_0000001062133103_b1215673265411"></a><a name="en-us_topic_0000001062133103_b1215673265411"></a>flex-start</strong>: All rows are packed towards the start of the cross axis. The start edge of the cross axis of the first row is aligned with the start edge of the cross axis of the container. All subsequent rows are aligned with the previous row.</li><li><strong id="en-us_topic_0000001062133103_b641215115411"><a name="en-us_topic_0000001062133103_b641215115411"></a><a name="en-us_topic_0000001062133103_b641215115411"></a>flex-end</strong>: All rows are packed towards the end of the cross axis. The end of the cross axis of the last row is aligned with the end of the cross axis of the container. All subsequent rows are aligned with the previous row.</li><li><strong id="en-us_topic_0000001062133103_b680012276554"><a name="en-us_topic_0000001062133103_b680012276554"></a><a name="en-us_topic_0000001062133103_b680012276554"></a>center</strong>: All rows are packed towards the center of the container. Rows are close to each other and aligned with the center of the container. The spacing between the start of the container's cross axis and the first row is equal to the spacing between the end of the container's cross axis and the last row.</li><li><strong id="en-us_topic_0000001062133103_b79551951327"><a name="en-us_topic_0000001062133103_b79551951327"></a><a name="en-us_topic_0000001062133103_b79551951327"></a>space-between</strong>: All rows are evenly distributed in the container. The spacing between two adjacent rows is the same. The start and end edges of the container's cross axis are aligned with the edges of the first and last rows, respectively.</li><li><strong id="en-us_topic_0000001062133103_b1015215315215"><a name="en-us_topic_0000001062133103_b1015215315215"></a><a name="en-us_topic_0000001062133103_b1015215315215"></a>space-around</strong>: All rows are evenly distributed in the container, and the spacing between two adjacent rows is the same. The spacing between the start edge of the container's cross axis and the first row and that between the end edge and the last row are half of the spacing between two adjacent rows.</li></ul>
187</td>
188</tr>
189<tr id="en-us_topic_0000001062133103_row13446238145410"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1070mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1070mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1070mcpsimp"></a>width</p>
190</td>
191<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1072mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1072mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1072mcpsimp"></a>&lt;length&gt;<span id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph597168143913"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph597168143913"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph597168143913"></a> | &lt;percentage&gt;</span></p>
192</td>
193<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p3948114217528"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p3948114217528"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p3948114217528"></a>-</p>
194</td>
195<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p13174101704612"><a name="en-us_topic_0000001062133103_p13174101704612"></a><a name="en-us_topic_0000001062133103_p13174101704612"></a>No</p>
196</td>
197<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p624653010258"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p624653010258"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p624653010258"></a>Component width.</p>
198<p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p84811050134010"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p84811050134010"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p84811050134010"></a>If this attribute is not set, the width required for the element content is used. </p>
199</td>
200</tr>
201<tr id="en-us_topic_0000001062133103_row7446738195418"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1079mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1079mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1079mcpsimp"></a>height</p>
202</td>
203<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1081mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1081mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1081mcpsimp"></a>&lt;length&gt;<span id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph11748352163918"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph11748352163918"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph11748352163918"></a> | &lt;percentage&gt;</span></p>
204</td>
205<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1083mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1083mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1083mcpsimp"></a>-</p>
206</td>
207<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p71741417194619"><a name="en-us_topic_0000001062133103_p71741417194619"></a><a name="en-us_topic_0000001062133103_p71741417194619"></a>No</p>
208</td>
209<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1477601264"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1477601264"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1477601264"></a>Component height.</p>
210<p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p208761554184020"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p208761554184020"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p208761554184020"></a>If this length attribute is not set, the length required for the element content is used. </p>
211</td>
212</tr>
213<tr id="en-us_topic_0000001062133103_row18446638145412"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1088mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1088mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1088mcpsimp"></a>padding</p>
214</td>
215<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1090mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1090mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1090mcpsimp"></a>&lt;length&gt;</p>
216</td>
217<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1092mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1092mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1092mcpsimp"></a>0</p>
218</td>
219<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p19729127112814"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p19729127112814"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p19729127112814"></a>No</p>
220</td>
221<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><div class="p" id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1094mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1094mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1094mcpsimp"></a>The attribute can have one to four values:<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul15202134923211"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul15202134923211"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul15202134923211"><li><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p10614155353215"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p10614155353215"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p10614155353215"></a>If you set only one value, it specifies the padding for four sides.</p>
222</li><li><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p10614175393216"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p10614175393216"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p10614175393216"></a>If you set two values, the first value specifies the top and bottom padding, and the second value specifies the left and right padding.</p>
223</li><li><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p8614205393214"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p8614205393214"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p8614205393214"></a>If you set three values, the first value specifies the top padding, the second value specifies the left and right padding, and the third value specifies the bottom padding.</p>
224</li><li><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p106141853193215"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p106141853193215"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p106141853193215"></a>If you set four values, they respectively specify the padding for top, right, bottom, and left sides (in clockwise order).</p>
225</li></ul>
226</div>
227</td>
228</tr>
229<tr id="en-us_topic_0000001062133103_row11447438175410"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1106mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1106mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1106mcpsimp"></a>margin</p>
230</td>
231<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1108mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1108mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1108mcpsimp"></a>&lt;length&gt;</p>
232</td>
233<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1110mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1110mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1110mcpsimp"></a>0</p>
234</td>
235<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p4730774285"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p4730774285"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p4730774285"></a>No</p>
236</td>
237<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1112mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1112mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1112mcpsimp"></a>Shorthand attribute to set margins for all sides in a declaration. The attribute can have one to four values:</p>
238<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul5333133311105"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul5333133311105"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul5333133311105"><li><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p03345339103"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p03345339103"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p03345339103"></a>If you set only one value, it specifies the margin for all the four sides.</p>
239</li><li><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1133420334108"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1133420334108"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1133420334108"></a>If you set two values, the first value is for the top and bottom sides and the second value for the left and right sides.</p>
240</li><li><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p193341533191015"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p193341533191015"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p193341533191015"></a>If you set three values, the first value is for the top, the second value for the left and right, and the third value for the bottom.</p>
241</li><li><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p733412334102"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p733412334102"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p733412334102"></a>If you set four values, they are margins for top, right, bottom, and left sides, respectively.</p>
242</li></ul>
243</td>
244</tr>
245<tr id="en-us_topic_0000001062133103_row144473383544"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1115mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1115mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1115mcpsimp"></a>margin-[left|top|right|bottom]</p>
246</td>
247<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1117mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1117mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1117mcpsimp"></a>&lt;length&gt;</p>
248</td>
249<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1119mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1119mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1119mcpsimp"></a>0</p>
250</td>
251<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p773013742811"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p773013742811"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p773013742811"></a>No</p>
252</td>
253<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1121mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1121mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1121mcpsimp"></a>Left, top, right, and bottom margins.</p>
254</td>
255</tr>
256<tr id="en-us_topic_0000001062133103_row944743811541"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p9492107123816"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p9492107123816"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p9492107123816"></a>margin-[start|end]</p>
257</td>
258<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p157617124374"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p157617124374"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p157617124374"></a>&lt;length&gt;</p>
259</td>
260<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1549213793811"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1549213793811"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1549213793811"></a>0</p>
261</td>
262<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p117511744618"><a name="en-us_topic_0000001062133103_p117511744618"></a><a name="en-us_topic_0000001062133103_p117511744618"></a>No</p>
263</td>
264<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1049212715388"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1049212715388"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1049212715388"></a>Start and end margins.</p>
265</td>
266</tr>
267<tr id="en-us_topic_0000001062133103_row16447238155411"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1124mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1124mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1124mcpsimp"></a>border</p>
268</td>
269<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1126mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1126mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1126mcpsimp"></a>-</p>
270</td>
271<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1128mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1128mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1128mcpsimp"></a>0</p>
272</td>
273<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p11175131715467"><a name="en-us_topic_0000001062133103_p11175131715467"></a><a name="en-us_topic_0000001062133103_p11175131715467"></a>No</p>
274</td>
275<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1130mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1130mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1130mcpsimp"></a>Shorthand attribute to set all borders. You can set <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b79128342503"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b79128342503"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b79128342503"></a>border-width</strong>, <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b9366173919505"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b9366173919505"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b9366173919505"></a>border-style</strong>, and <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b184351248205019"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b184351248205019"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b184351248205019"></a>border-color</strong> in sequence. Default values are used for attributes that are not set.</p>
276</td>
277</tr>
278<tr id="en-us_topic_0000001062133103_row4447138115414"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1133mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1133mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1133mcpsimp"></a>border-style</p>
279</td>
280<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p513631613319"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p513631613319"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p513631613319"></a>string</p>
281</td>
282<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1137mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1137mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1137mcpsimp"></a>solid</p>
283</td>
284<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p617531717464"><a name="en-us_topic_0000001062133103_p617531717464"></a><a name="en-us_topic_0000001062133103_p617531717464"></a>No</p>
285</td>
286<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p342285712314"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p342285712314"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p342285712314"></a>Shorthand attribute to set the style for all borders. Available values are as follows:</p>
287<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1470834505612"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1470834505612"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1470834505612"><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b143453286360"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b143453286360"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b143453286360"></a>dotted</strong>: Dotted border. The radius of a dot is half of border-width.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b792117280367"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b792117280367"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b792117280367"></a>dashed</strong>: Dashed border</li></ul>
288<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul15621125545612"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul15621125545612"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul15621125545612"><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1335862963610"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1335862963610"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1335862963610"></a>solid</strong>: Solid border</li></ul>
289</td>
290</tr>
291<tr id="en-us_topic_0000001062133103_row1656512239262"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p119531437370"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p119531437370"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p119531437370"></a>border-[left|top|right|bottom]-style</p>
292</td>
293<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p129532037175"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p129532037175"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p129532037175"></a>string</p>
294</td>
295<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p495312372717"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p495312372717"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p495312372717"></a>solid</p>
296</td>
297<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p169534375717"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p169534375717"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p169534375717"></a>No</p>
298</td>
299<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p595353718719"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p595353718719"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p595353718719"></a>Styles of the left, top, right, and bottom borders. The available values are <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17769171311540"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17769171311540"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17769171311540"></a>dotted</strong>, <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b237141519547"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b237141519547"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b237141519547"></a>dashed</strong>, and <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b8949161613540"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b8949161613540"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b8949161613540"></a>solid</strong>.</p>
300</td>
301</tr>
302<tr id="en-us_topic_0000001062133103_row19448113811542"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1142mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1142mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1142mcpsimp"></a>border-[left|top|right|bottom]</p>
303</td>
304<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1144mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1144mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1144mcpsimp"></a>-</p>
305</td>
306<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1146mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1146mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1146mcpsimp"></a>-</p>
307</td>
308<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p67303762810"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p67303762810"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p67303762810"></a>No</p>
309</td>
310<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1148mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1148mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1148mcpsimp"></a>Shorthand attribute to set the borders for every side respectively. You can set <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b122415514554"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b122415514554"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b122415514554"></a>border-width</strong>, <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b12296178135513"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b12296178135513"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b12296178135513"></a>border-style</strong>, and <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1129701210553"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1129701210553"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1129701210553"></a>border-color</strong> in sequence. Default values are used for attributes that are not set.</p>
311</td>
312</tr>
313<tr id="en-us_topic_0000001062133103_row124481638165417"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1151mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1151mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1151mcpsimp"></a>border-width</p>
314</td>
315<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1153mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1153mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1153mcpsimp"></a>&lt;length&gt;</p>
316</td>
317<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1155mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1155mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1155mcpsimp"></a>0</p>
318</td>
319<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p16175131724618"><a name="en-us_topic_0000001062133103_p16175131724618"></a><a name="en-us_topic_0000001062133103_p16175131724618"></a>No</p>
320</td>
321<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1157mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1157mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1157mcpsimp"></a>Shorthand attribute to set the width of all borders<span id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph07997369365"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph07997369365"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph07997369365"></a>, or separately set the width of each border</span>.</p>
322</td>
323</tr>
324<tr id="en-us_topic_0000001062133103_row54481038165410"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1160mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1160mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1160mcpsimp"></a>border-[left|top|right|bottom]-width</p>
325</td>
326<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1162mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1162mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1162mcpsimp"></a>&lt;length&gt;</p>
327</td>
328<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1164mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1164mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1164mcpsimp"></a>0</p>
329</td>
330<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p11175151717466"><a name="en-us_topic_0000001062133103_p11175151717466"></a><a name="en-us_topic_0000001062133103_p11175151717466"></a>No</p>
331</td>
332<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1166mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1166mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1166mcpsimp"></a>Attribute to set widths of left, top, right, and bottom borders.</p>
333</td>
334</tr>
335<tr id="en-us_topic_0000001062133103_row1744817385547"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1169mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1169mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1169mcpsimp"></a>border-color</p>
336</td>
337<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1171mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1171mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1171mcpsimp"></a>&lt;color&gt;</p>
338</td>
339<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1173mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1173mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1173mcpsimp"></a>black</p>
340</td>
341<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p1017518177465"><a name="en-us_topic_0000001062133103_p1017518177465"></a><a name="en-us_topic_0000001062133103_p1017518177465"></a>No</p>
342</td>
343<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1175mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1175mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1175mcpsimp"></a>Shorthand attribute to set the color of all borders<span id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph9587639113619"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph9587639113619"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph9587639113619"></a>, or separately set the color of each border</span>.</p>
344</td>
345</tr>
346<tr id="en-us_topic_0000001062133103_row844813835410"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1178mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1178mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1178mcpsimp"></a>border-[left|top|right|bottom]-color</p>
347</td>
348<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1180mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1180mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1180mcpsimp"></a>&lt;color&gt;</p>
349</td>
350<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1182mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1182mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1182mcpsimp"></a>black</p>
351</td>
352<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p11175417184611"><a name="en-us_topic_0000001062133103_p11175417184611"></a><a name="en-us_topic_0000001062133103_p11175417184611"></a>No</p>
353</td>
354<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1184mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1184mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1184mcpsimp"></a>Attribute to set colors of left, top, right, and bottom borders.</p>
355</td>
356</tr>
357<tr id="en-us_topic_0000001062133103_row944813389540"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1187mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1187mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1187mcpsimp"></a>border-radius</p>
358</td>
359<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1189mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1189mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1189mcpsimp"></a>&lt;length&gt;</p>
360</td>
361<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1191mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1191mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1191mcpsimp"></a>-</p>
362</td>
363<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p67306752816"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p67306752816"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p67306752816"></a>No</p>
364</td>
365<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p18998933174117"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p18998933174117"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p18998933174117"></a>Attribute to set the radius of round borders of an element. <span id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph1249443123611"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph1249443123611"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph1249443123611"></a>This attribute cannot be used to set the width or color of a specific border. To set the width or color, you need to set <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b124211434362"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b124211434362"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b124211434362"></a>border-width</strong> or <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b124894383615"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b124894383615"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b124894383615"></a>border-color</strong> for all the borders at the same time.</span></p>
366</td>
367</tr>
368<tr id="en-us_topic_0000001062133103_row104494382546"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1198mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1198mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1198mcpsimp"></a>border-[top|bottom]-[left|right]-radius</p>
369</td>
370<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1200mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1200mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1200mcpsimp"></a>&lt;length&gt;</p>
371</td>
372<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1202mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1202mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1202mcpsimp"></a>-</p>
373</td>
374<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p27305718283"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p27305718283"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p27305718283"></a>No</p>
375</td>
376<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1204mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1204mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1204mcpsimp"></a>Attribute to receptively set the radii of upper-left, upper-right, lower-right, and lower-left rounded corners</p>
377</td>
378</tr>
379<tr id="en-us_topic_0000001062133103_row1344912384548"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1207mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1207mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1207mcpsimp"></a>background</p>
380</td>
381<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1209mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1209mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1209mcpsimp"></a>&lt;linear-gradient&gt;</p>
382</td>
383<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1211mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1211mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1211mcpsimp"></a>-</p>
384</td>
385<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p15730197132811"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p15730197132811"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p15730197132811"></a>No</p>
386</td>
387<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1213mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1213mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1213mcpsimp"></a>This attribute supports <a href="gradient-styles.md#EN-US_TOPIC_0000001115974726">Gradient Styles</a> only but is not compatible with <strong id="en-us_topic_0000001062133103_b106756913529"><a name="en-us_topic_0000001062133103_b106756913529"></a><a name="en-us_topic_0000001062133103_b106756913529"></a>background-color</strong> or <strong id="en-us_topic_0000001062133103_b156754919523"><a name="en-us_topic_0000001062133103_b156754919523"></a><a name="en-us_topic_0000001062133103_b156754919523"></a>background-image</strong>.</p>
388</td>
389</tr>
390<tr id="en-us_topic_0000001062133103_row15449838185416"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1217mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1217mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1217mcpsimp"></a>background-color</p>
391</td>
392<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1219mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1219mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1219mcpsimp"></a>&lt;color&gt;</p>
393</td>
394<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1221mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1221mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1221mcpsimp"></a>-</p>
395</td>
396<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p17730577282"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p17730577282"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p17730577282"></a>No</p>
397</td>
398<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1223mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1223mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1223mcpsimp"></a>Background color.</p>
399</td>
400</tr>
401<tr id="en-us_topic_0000001062133103_row54491338115412"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1226mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1226mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1226mcpsimp"></a>background-image</p>
402</td>
403<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1228mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1228mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1228mcpsimp"></a>string</p>
404</td>
405<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1230mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1230mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1230mcpsimp"></a>-</p>
406</td>
407<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p7730976285"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p7730976285"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p7730976285"></a>No</p>
408</td>
409<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1232mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1232mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1232mcpsimp"></a>Background image. Currently, this attribute is not compatible with <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17699154763620"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17699154763620"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17699154763620"></a>background-color</strong> or <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b87001647163613"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b87001647163613"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b87001647163613"></a>background</strong>. Both Internet and local image resources are supported.</p>
410</td>
411</tr>
412<tr id="en-us_topic_0000001062133103_row6449238185416"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p15157115065817"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p15157115065817"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p15157115065817"></a>background-size</p>
413</td>
414<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1065173641310"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1065173641310"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1065173641310"><li>string</li><li>&lt;length&gt; &lt;length&gt;</li><li>&lt;percentage&gt; &lt;percentage&gt;</li></ul>
415</td>
416<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p8157195019585"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p8157195019585"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p8157195019585"></a>auto</p>
417</td>
418<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p137309714282"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p137309714282"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p137309714282"></a>No</p>
419</td>
420<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p91971112114318"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p91971112114318"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p91971112114318"></a>Background image size.</p>
421<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul41331853154111"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul41331853154111"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul41331853154111"><li>The <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1229715499365"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1229715499365"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1229715499365"></a>string</strong> values are as follows:<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul13611494111"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul13611494111"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul13611494111"><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b4759749163610"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b4759749163610"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b4759749163610"></a>contain</strong>: Expands the image to the maximum size so that the height and width of the image are applicable to the content area.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b136485011365"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b136485011365"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b136485011365"></a>cover</strong>: Extends the background image to a large enough size so that the background image completely covers the background area. Some parts of the image may not be displayed in the background localization area.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1425512535366"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1425512535366"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1425512535366"></a>auto</strong>: The original image width-height ratio is retained.</li></ul>
422</li><li>The two <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13309145193614"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13309145193614"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13309145193614"></a>&lt;length&gt;</strong> values are as follows:<p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1840244924418"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1840244924418"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1840244924418"></a>Width and height of the background image. The first value indicates the width, and the second value indicates the height. If you only set one value, the other value is set to <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b146661156143617"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b146661156143617"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b146661156143617"></a>auto</strong> by default.</p>
423</li><li>The two <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1667415763613"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1667415763613"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1667415763613"></a>&lt;percentage&gt;</strong> values are as follows:<p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p17936154410457"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p17936154410457"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p17936154410457"></a>Width and height of the background image in percentage of the parent element. The first value indicates the width, and the second value indicates the height. If you only set one value, the other value is set to <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17190164371"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17190164371"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17190164371"></a>auto</strong> by default.</p>
424</li></ul>
425</td>
426</tr>
427<tr id="en-us_topic_0000001062133103_row94491238155415"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1235mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1235mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1235mcpsimp"></a>background-repeat</p>
428</td>
429<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1237mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1237mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1237mcpsimp"></a>string</p>
430</td>
431<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1239mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1239mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1239mcpsimp"></a>repeat</p>
432</td>
433<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1673015702810"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1673015702810"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1673015702810"></a>No</p>
434</td>
435<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1241mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1241mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1241mcpsimp"></a>Repeating attribute of a background image. By default, a background image is repeated both horizontally and vertically.</p>
436<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul8236153103612"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul8236153103612"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul8236153103612"><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1363463710"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1363463710"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1363463710"></a>repeat</strong>: Draws images along the x-axis and y-axis at the same time.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b267416916377"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b267416916377"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b267416916377"></a>repeat-x</strong>: Draws images along the x-axis.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b625561011379"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b625561011379"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b625561011379"></a>repeat-y</strong>: Draws images along the y-axis.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1122181133715"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1122181133715"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1122181133715"></a>no-repeat</strong>: The image is not drawn repeatedly.</li></ul>
437</td>
438</tr>
439<tr id="en-us_topic_0000001062133103_row94491738105419"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1244mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1244mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1244mcpsimp"></a>background-position</p>
440</td>
441<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul8874155216502"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul8874155216502"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul8874155216502"><li>string string</li><li>&lt;length&gt; &lt;length&gt;</li><li>&lt;percentage&gt; &lt;percentage&gt;</li></ul>
442</td>
443<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1248mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1248mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1248mcpsimp"></a>0px 0px</p>
444</td>
445<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p173010720280"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p173010720280"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p173010720280"></a>No</p>
446</td>
447<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1590812103363"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1590812103363"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1590812103363"><li>Using keywords: If only one keyword is specified, the other value is <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b997011116376"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b997011116376"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b997011116376"></a>center</strong> by default. The two values define the horizontal position and vertical position, respectively.<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1453531734716"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1453531734716"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul1453531734716"><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b0982111273712"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b0982111273712"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b0982111273712"></a>left</strong>: leftmost in the horizontal direction</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b866713583912"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b866713583912"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b866713583912"></a>right</strong>: rightmost in the horizontal direction</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5886013193716"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5886013193716"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5886013193716"></a>top</strong>: top in the vertical direction</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b84197142376"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b84197142376"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b84197142376"></a>bottom</strong>: bottom in the vertical direction</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b14894114103710"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b14894114103710"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b14894114103710"></a>center</strong>: center position</li></ul>
448</li></ul>
449<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul10908121023615"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul10908121023615"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul10908121023615"><li>Using <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b11401615193715"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b11401615193715"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b11401615193715"></a>&lt;length&gt;</strong>: The first value indicates the horizontal position, and the second value indicates the vertical position. <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1341381819379"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1341381819379"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1341381819379"></a>0 0</strong> indicates the upper left corner. The unit is pixel. If only one value is specified, the other one is <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b48671516183714"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b48671516183714"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b48671516183714"></a>50%</strong>.</li><li>Using <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5492717163712"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5492717163712"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5492717163712"></a>&lt;percentage&gt;</strong>: The first value indicates the horizontal position, and the second value indicates the vertical position. <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b164741723183712"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b164741723183712"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b164741723183712"></a>0% 0%</strong> indicates the upper left corner. <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b64022245377"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b64022245377"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b64022245377"></a>100% 100%</strong> indicates the lower right corner. If only one value is specified, the other one is <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b7893424163718"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b7893424163718"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b7893424163718"></a>50%</strong>.</li><li>Using both <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b154811725193718"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b154811725193718"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b154811725193718"></a>&lt;percentage&gt;</strong> and <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b34834254377"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b34834254377"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b34834254377"></a>&lt;length&gt;</strong>.</li></ul>
450</td>
451</tr>
452<tr id="en-us_topic_0000001062133103_row20450143885416"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p134581712103910"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p134581712103910"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p134581712103910"></a>opacity</p>
453</td>
454<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1267mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1267mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1267mcpsimp"></a>number</p>
455</td>
456<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1269mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1269mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1269mcpsimp"></a>1</p>
457</td>
458<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1873011722814"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1873011722814"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1873011722814"></a>No</p>
459</td>
460<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p122515161139"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p122515161139"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p122515161139"></a>Transparency of an element. The value ranges from <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1871715526385"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1871715526385"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1871715526385"></a>0</strong> to <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b177181452103815"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b177181452103815"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b177181452103815"></a>1</strong>. The value <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13718155210380"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13718155210380"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13718155210380"></a>1</strong> means opaque, and <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b6718152103818"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b6718152103818"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b6718152103818"></a>0</strong> means completely transparent.</p>
461</td>
462</tr>
463<tr id="en-us_topic_0000001062133103_row1450123865418"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1274mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1274mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1274mcpsimp"></a>display</p>
464</td>
465<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1544115441446"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1544115441446"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1544115441446"></a>string</p>
466<p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1276mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1276mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1276mcpsimp"></a></p>
467</td>
468<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1278mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1278mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1278mcpsimp"></a>flex</p>
469</td>
470<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p167303762818"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p167303762818"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p167303762818"></a>No</p>
471</td>
472<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p23704018414"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p23704018414"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p23704018414"></a>How and whether to display the box containing an element. Available values are as follows:</p>
473<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul12227103394916"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul12227103394916"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul12227103394916"><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b57468289377"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b57468289377"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b57468289377"></a>flex</strong>: flexible layout</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b18887133293920"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b18887133293920"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b18887133293920"></a>none</strong>: The element is hidden.</li></ul>
474</td>
475</tr>
476<tr id="en-us_topic_0000001062133103_row194503380541"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1283mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1283mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1283mcpsimp"></a>visibility</p>
477</td>
478<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p15475737486"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p15475737486"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p15475737486"></a>string</p>
479<p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1285mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1285mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1285mcpsimp"></a></p>
480</td>
481<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1287mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1287mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1287mcpsimp"></a>visible</p>
482</td>
483<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p57301471281"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p57301471281"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p57301471281"></a>No</p>
484</td>
485<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1568839154517"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1568839154517"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1568839154517"></a>Whether to display an element. Invisible borders occupy layout space. (To remove the borders, set the <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b15844103015378"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b15844103015378"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b15844103015378"></a>display</strong> attribute to <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b4845153013712"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b4845153013712"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b4845153013712"></a>none</strong>.) Available values are as follows:</p>
486<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul751984164920"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul751984164920"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul751984164920"><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17429331133711"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17429331133711"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b17429331133711"></a>visible</strong>: The element is visible.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b109191231193710"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b109191231193710"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b109191231193710"></a>hidden</strong>: The element is hidden but still takes up space.</li></ul>
487<div class="note" id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note4549524649"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note4549524649"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note4549524649"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p25499241642"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p25499241642"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p25499241642"></a>If both <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b719810016405"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b719810016405"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b719810016405"></a>visibility</strong> and <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b187052264018"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b187052264018"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b187052264018"></a>display</strong> are set, only <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b107788924011"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b107788924011"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b107788924011"></a>display</strong> takes effect.</p>
488</div></div>
489</td>
490</tr>
491<tr id="en-us_topic_0000001062133103_row13450113811544"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1292mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1292mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1292mcpsimp"></a>flex</p>
492</td>
493<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1294mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1294mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1294mcpsimp"></a>number</p>
494</td>
495<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1296mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1296mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1296mcpsimp"></a>-</p>
496</td>
497<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1373057132812"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1373057132812"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1373057132812"></a>No</p>
498</td>
499<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1298mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1298mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1298mcpsimp"></a>How to divide available space of the parent component for a child component. It is used as a shorthand attribute to set the <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b675073313371"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b675073313371"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b675073313371"></a>flex-grow</strong> attribute of the parent component.</p>
500<div class="note" id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note34891253201520"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note34891253201520"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note34891253201520"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1248915538152"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1248915538152"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1248915538152"></a>This attribute takes effect only when the parent component is <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5392113473716"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5392113473716"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b5392113473716"></a>&lt;div&gt;</strong>, <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b18394103473713"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b18394103473713"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b18394103473713"></a>&lt;list-item&gt;</strong>, or <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b153951534103716"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b153951534103716"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b153951534103716"></a>&lt;tabs&gt;</strong>.</p>
501</div></div>
502</td>
503</tr>
504<tr id="en-us_topic_0000001062133103_row13450138205418"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1301mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1301mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1301mcpsimp"></a>flex-grow</p>
505</td>
506<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1303mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1303mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1303mcpsimp"></a>number</p>
507</td>
508<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1305mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1305mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1305mcpsimp"></a>0</p>
509</td>
510<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p81768178466"><a name="en-us_topic_0000001062133103_p81768178466"></a><a name="en-us_topic_0000001062133103_p81768178466"></a>No</p>
511</td>
512<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p4437122419557"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p4437122419557"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p4437122419557"></a>How much a child component will grow. The value specifies allocation of the remaining space on the main axis of the parent component. Size of available space = Container size - Total size of all child components. Value <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1682343583716"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1682343583716"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1682343583716"></a>0</strong> indicates that the child component does not grow.</p>
513<div class="note" id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note201231734212"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note201231734212"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note201231734212"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p184555314553"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p184555314553"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p184555314553"></a>This attribute takes effect only when the parent component is <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1444983613711"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1444983613711"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1444983613711"></a>&lt;div&gt;</strong>, <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b64501936153711"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b64501936153711"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b64501936153711"></a>&lt;list-item&gt;</strong>, or <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1145115367371"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1145115367371"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1145115367371"></a>&lt;tabs&gt;</strong>.</p>
514</div></div>
515</td>
516</tr>
517<tr id="en-us_topic_0000001062133103_row845016384549"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1310mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1310mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1310mcpsimp"></a>flex-shrink</p>
518</td>
519<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1312mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1312mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1312mcpsimp"></a>number</p>
520</td>
521<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1314mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1314mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1314mcpsimp"></a>1</p>
522</td>
523<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p1917613178465"><a name="en-us_topic_0000001062133103_p1917613178465"></a><a name="en-us_topic_0000001062133103_p1917613178465"></a>No</p>
524</td>
525<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1316mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1316mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1316mcpsimp"></a>How much a child component will shrink. The shrink occurs only when the sum of default child component widths is greater than that of the parent component. Value <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b783242395"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b783242395"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b783242395"></a>0</strong> indicates that the child component does not shrink.</p>
526<div class="note" id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note147160917217"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note147160917217"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note147160917217"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p844914328577"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p844914328577"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p844914328577"></a>This attribute takes effect only when the parent component is <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1441723203915"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1441723203915"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1441723203915"></a>&lt;div&gt;</strong>, <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b14282393913"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b14282393913"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b14282393913"></a>&lt;list-item&gt;</strong>, or <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b2043102343910"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b2043102343910"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b2043102343910"></a>&lt;tabs&gt;</strong>.</p>
527</div></div>
528</td>
529</tr>
530<tr id="en-us_topic_0000001062133103_row144511738195411"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1319mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1319mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1319mcpsimp"></a>flex-basis</p>
531</td>
532<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1148910787"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1148910787"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1148910787"></a>&lt;length&gt;</p>
533<p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1321mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1321mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1321mcpsimp"></a></p>
534</td>
535<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1323mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1323mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1323mcpsimp"></a>-</p>
536</td>
537<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_p0176817154612"><a name="en-us_topic_0000001062133103_p0176817154612"></a><a name="en-us_topic_0000001062133103_p0176817154612"></a>No</p>
538</td>
539<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1325mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1325mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1325mcpsimp"></a>Initial length of the flex item on the main axis.</p>
540<div class="note" id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note62848141222"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note62848141222"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note62848141222"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p16711745115718"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p16711745115718"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p16711745115718"></a>This attribute takes effect only when the parent component is <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1864241917398"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1864241917398"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1864241917398"></a>&lt;div&gt;</strong>, <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b19648111913920"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b19648111913920"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b19648111913920"></a>&lt;list-item&gt;</strong>, or <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b46497191399"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b46497191399"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b46497191399"></a>&lt;tabs&gt;</strong>.</p>
541</div></div>
542</td>
543</tr>
544<tr id="en-us_topic_0000001062133103_row184519384544"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1328mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1328mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1328mcpsimp"></a>position</p>
545</td>
546<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1330mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1330mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1330mcpsimp"></a>string</p>
547</td>
548<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1332mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1332mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1332mcpsimp"></a>relative</p>
549</td>
550<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1173107172814"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1173107172814"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1173107172814"></a>No</p>
551</td>
552<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1334mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1334mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1334mcpsimp"></a>Positioning type of an element. Dynamic changes are not supported.</p>
553<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul17185232185014"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul17185232185014"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul17185232185014"><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1894911155394"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1894911155394"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1894911155394"></a>fixed</strong>: The element is positioned related to the browser window.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b823115152390"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b823115152390"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b823115152390"></a>absolute</strong>: The element is positioned absolutely to its parent element.</li><li><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b736151417395"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b736151417395"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b736151417395"></a>relative</strong>: The element is positioned relative to its normal position.</li></ul>
554<div class="note" id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note167617191219"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note167617191219"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_note167617191219"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1839092815101"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1839092815101"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1839092815101"></a>The <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13941713133910"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13941713133910"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b13941713133910"></a>absolute</strong> attribute takes effect only when the parent component is <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1099913173916"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1099913173916"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b1099913173916"></a>&lt;div&gt;</strong> or <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b181001413123919"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b181001413123919"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b181001413123919"></a>&lt;stack&gt;</strong>.</p>
555</div></div>
556</td>
557</tr>
558<tr id="en-us_topic_0000001062133103_row1545123811547"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1337mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1337mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1337mcpsimp"></a>[left|top<span id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph14927143614712"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph14927143614712"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph14927143614712"></a>|right|bottom</span>]</p>
559</td>
560<td class="cellrowborder" valign="top" width="12.80871912808719%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1849062221214"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1849062221214"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p1849062221214"></a>&lt;length&gt;</p>
561</td>
562<td class="cellrowborder" valign="top" width="13.498650134986503%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1341mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1341mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1341mcpsimp"></a>-</p>
563</td>
564<td class="cellrowborder" valign="top" width="7.56924307569243%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p187314719288"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p187314719288"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_p187314719288"></a>No</p>
565</td>
566<td class="cellrowborder" valign="top" width="43.00569943005699%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1343mcpsimp"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1343mcpsimp"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_en-us_topic_0000000000611468_p1343mcpsimp"></a><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b481348173914"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b481348173914"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b481348173914"></a>left|top</strong><span id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph4818118173914"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph4818118173914"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ph4818118173914"></a><strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b68143833912"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b68143833912"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b68143833912"></a>|right|bottom</strong></span> must be used together with <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b881916818394"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b881916818394"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b881916818394"></a>position</strong> to determine the offset position of an element.</p>
567<a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul12671003525"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul12671003525"></a><ul id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_ul12671003525"><li>The <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b885117712398"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b885117712398"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b885117712398"></a>left</strong> attribute specifies the left edge position of the element. This attribute defines the offset between the left edge of a positioned element and that of a block included in the element.</li><li>The <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b65591759395"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b65591759395"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b65591759395"></a>top</strong> attribute specifies the top edge position of the element. This attribute defines the offset between the top edge of a positioned element and that of a block included in the element.</li><li>The <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b179013323910"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b179013323910"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b179013323910"></a>right</strong> attribute specifies the right edge position of the element. This attribute defines the offset between the right edge of a positioned element and that of a block included in the element. </li><li>The <strong id="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b77091602397"><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b77091602397"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001050791158_b77091602397"></a>bottom</strong> attribute specifies the bottom edge position of the element. This attribute defines the offset between the bottom edge of a positioned element and that of a block included in the element. </li></ul>
568</td>
569</tr>
570</tbody>
571</table>
572
573## Event<a name="en-us_topic_0000001062133103_section291933813509"></a>
574
575<a name="en-us_topic_0000001062133103_table86725883620"></a>
576<table><thead align="left"><tr id="en-us_topic_0000001062133103_row1967115815361"><th class="cellrowborder" valign="top" width="24.852485248524854%" id="mcps1.1.4.1.1"><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a487aa1c493e84ca68567b4b65051674d"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a487aa1c493e84ca68567b4b65051674d"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a487aa1c493e84ca68567b4b65051674d"></a>Name</p>
577</th>
578<th class="cellrowborder" valign="top" width="29.552955295529554%" id="mcps1.1.4.1.2"><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_adc4b506cda3043508da6ee7649c12ca4"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_adc4b506cda3043508da6ee7649c12ca4"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_adc4b506cda3043508da6ee7649c12ca4"></a>Parameter</p>
579</th>
580<th class="cellrowborder" valign="top" width="45.5945594559456%" id="mcps1.1.4.1.3"><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a59e4cbe58a5c42a7a4585bc8365783bc"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a59e4cbe58a5c42a7a4585bc8365783bc"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a59e4cbe58a5c42a7a4585bc8365783bc"></a>Triggered when</p>
581</th>
582</tr>
583</thead>
584<tbody><tr id="en-us_topic_0000001062133103_row186745817366"><td class="cellrowborder" valign="top" width="24.852485248524854%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a58fb4b1d870f466e955cf5ea879c4d4a"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a58fb4b1d870f466e955cf5ea879c4d4a"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a58fb4b1d870f466e955cf5ea879c4d4a"></a>touchstart</p>
585</td>
586<td class="cellrowborder" valign="top" width="29.552955295529554%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_abefebd99301b4bdebb798d1b9df24d8d"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_abefebd99301b4bdebb798d1b9df24d8d"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_abefebd99301b4bdebb798d1b9df24d8d"></a><a href="universal-events.md#en-us_topic_0000001058460527_tdb541af4e4db41d7a92e9b6e3c93f606">TouchEvent</a></p>
587</td>
588<td class="cellrowborder" valign="top" width="45.5945594559456%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_afa4290e2620f4f5fbdcb74dcae84e536"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_afa4290e2620f4f5fbdcb74dcae84e536"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_afa4290e2620f4f5fbdcb74dcae84e536"></a>The tapping starts</p>
589</td>
590</tr>
591<tr id="en-us_topic_0000001062133103_row1368105833618"><td class="cellrowborder" valign="top" width="24.852485248524854%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a23e0317cfee94650be4dcd2280c3e94e"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a23e0317cfee94650be4dcd2280c3e94e"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a23e0317cfee94650be4dcd2280c3e94e"></a>touchmove</p>
592</td>
593<td class="cellrowborder" valign="top" width="29.552955295529554%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_aea26e4f9575044dc8fb65080f3a6684a"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_aea26e4f9575044dc8fb65080f3a6684a"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_aea26e4f9575044dc8fb65080f3a6684a"></a><a href="universal-events.md#en-us_topic_0000001058460527_tdb541af4e4db41d7a92e9b6e3c93f606">TouchEvent</a></p>
594</td>
595<td class="cellrowborder" valign="top" width="45.5945594559456%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a37f7cc43d82c4ee18512bd079349079d"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a37f7cc43d82c4ee18512bd079349079d"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a37f7cc43d82c4ee18512bd079349079d"></a>The tapping moves</p>
596</td>
597</tr>
598<tr id="en-us_topic_0000001062133103_row46818588369"><td class="cellrowborder" valign="top" width="24.852485248524854%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_ad0728eeac06143bbb4a6fdf1ed5c6d91"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_ad0728eeac06143bbb4a6fdf1ed5c6d91"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_ad0728eeac06143bbb4a6fdf1ed5c6d91"></a>touchcancel</p>
599</td>
600<td class="cellrowborder" valign="top" width="29.552955295529554%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a59e2819eae2b4d3e935991b43156347b"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a59e2819eae2b4d3e935991b43156347b"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a59e2819eae2b4d3e935991b43156347b"></a><a href="universal-events.md#en-us_topic_0000001058460527_tdb541af4e4db41d7a92e9b6e3c93f606">TouchEvent</a></p>
601</td>
602<td class="cellrowborder" valign="top" width="45.5945594559456%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a739d9ef0db624f6284554aeaeddffa0a"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a739d9ef0db624f6284554aeaeddffa0a"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a739d9ef0db624f6284554aeaeddffa0a"></a>The tapping is interrupted</p>
603</td>
604</tr>
605<tr id="en-us_topic_0000001062133103_row186817583361"><td class="cellrowborder" valign="top" width="24.852485248524854%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a233e2f6ff39f49fd97b8f233875d01d4"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a233e2f6ff39f49fd97b8f233875d01d4"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a233e2f6ff39f49fd97b8f233875d01d4"></a>touchend</p>
606</td>
607<td class="cellrowborder" valign="top" width="29.552955295529554%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a439e69aaf158448e99b3c81cbc9fd624"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a439e69aaf158448e99b3c81cbc9fd624"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a439e69aaf158448e99b3c81cbc9fd624"></a><a href="universal-events.md#en-us_topic_0000001058460527_tdb541af4e4db41d7a92e9b6e3c93f606">TouchEvent</a></p>
608</td>
609<td class="cellrowborder" valign="top" width="45.5945594559456%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a05c0fe4e05ef4154acee8a06ad56a2de"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a05c0fe4e05ef4154acee8a06ad56a2de"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a05c0fe4e05ef4154acee8a06ad56a2de"></a>The tapping ends</p>
610</td>
611</tr>
612<tr id="en-us_topic_0000001062133103_row14681558153618"><td class="cellrowborder" valign="top" width="24.852485248524854%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a2fb4de45b1594f6fa1a7da45ce0db57f"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a2fb4de45b1594f6fa1a7da45ce0db57f"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a2fb4de45b1594f6fa1a7da45ce0db57f"></a>click</p>
613</td>
614<td class="cellrowborder" valign="top" width="29.552955295529554%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_af86bf1da40504ed2a8d14213a42536ab"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_af86bf1da40504ed2a8d14213a42536ab"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_af86bf1da40504ed2a8d14213a42536ab"></a>-</p>
615</td>
616<td class="cellrowborder" valign="top" width="45.5945594559456%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a1d32f00c38c440ddaa63c3f3e01d4e09"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a1d32f00c38c440ddaa63c3f3e01d4e09"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a1d32f00c38c440ddaa63c3f3e01d4e09"></a>A component is clicked</p>
617</td>
618</tr>
619<tr id="en-us_topic_0000001062133103_row1169125843619"><td class="cellrowborder" valign="top" width="24.852485248524854%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_aa7dc63d1b4924872bbff6a6a100e928f"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_aa7dc63d1b4924872bbff6a6a100e928f"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_aa7dc63d1b4924872bbff6a6a100e928f"></a>longpress</p>
620</td>
621<td class="cellrowborder" valign="top" width="29.552955295529554%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a39186f4ff74544d89ace56ea87d9937b"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a39186f4ff74544d89ace56ea87d9937b"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a39186f4ff74544d89ace56ea87d9937b"></a>-</p>
622</td>
623<td class="cellrowborder" valign="top" width="45.5945594559456%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a44b8585170304b5596c41714772e605e"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a44b8585170304b5596c41714772e605e"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_a44b8585170304b5596c41714772e605e"></a>A component is long pressed</p>
624</td>
625</tr>
626<tr id="en-us_topic_0000001062133103_row176916587361"></tr>
627<tr id="en-us_topic_0000001062133103_row46910580368"></tr>
628<tr id="en-us_topic_0000001062133103_row186916587361"></tr>
629<tr id="en-us_topic_0000001062133103_row47005883611"><td class="cellrowborder" valign="top" width="24.852485248524854%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p12706561061"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p12706561061"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p12706561061"></a>swipe<sup id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_sup35424382912"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_sup35424382912"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_sup35424382912"></a>5+</sup></p>
630</td>
631<td class="cellrowborder" valign="top" width="29.552955295529554%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p11711056161"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p11711056161"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p11711056161"></a><a href="universal-events.md#en-us_topic_0000001058460527_table111811577714">SwipeEvent</a></p>
632</td>
633<td class="cellrowborder" valign="top" width="45.5945594559456%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p2711556162"><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p2711556162"></a><a name="en-us_topic_0000001062133103_en-us_topic_0000001058460527_p2711556162"></a>A user quickly swipes on a component.</p>
634</td>
635</tr>
636</tbody>
637</table>
638
639## Method<a name="en-us_topic_0000001062133103_section13156101584913"></a>
640
641<a name="en-us_topic_0000001062133103_t26fe2ddff8674cc38a3a1ec490b76e2f"></a>
642<table><thead align="left"><tr id="en-us_topic_0000001062133103_r237544a789f74f4599b0688cdb75239a"><th class="cellrowborder" valign="top" width="23%" id="mcps1.1.4.1.1"><p id="en-us_topic_0000001062133103_a897dc10a0e4e45bc94f02c558c679435"><a name="en-us_topic_0000001062133103_a897dc10a0e4e45bc94f02c558c679435"></a><a name="en-us_topic_0000001062133103_a897dc10a0e4e45bc94f02c558c679435"></a>Name</p>
643</th>
644<th class="cellrowborder" valign="top" width="32%" id="mcps1.1.4.1.2"><p id="en-us_topic_0000001062133103_ac86c6eca347b48e9a749143ecf54f38f"><a name="en-us_topic_0000001062133103_ac86c6eca347b48e9a749143ecf54f38f"></a><a name="en-us_topic_0000001062133103_ac86c6eca347b48e9a749143ecf54f38f"></a>Parameter</p>
645</th>
646<th class="cellrowborder" valign="top" width="45%" id="mcps1.1.4.1.3"><p id="en-us_topic_0000001062133103_a0050d08b0c5744de88990d92ef35d3b1"><a name="en-us_topic_0000001062133103_a0050d08b0c5744de88990d92ef35d3b1"></a><a name="en-us_topic_0000001062133103_a0050d08b0c5744de88990d92ef35d3b1"></a>Description</p>
647</th>
648</tr>
649</thead>
650<tbody><tr id="en-us_topic_0000001062133103_r08b3c58c981c42a390dc730286c9ce95"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_p191499655120"><a name="en-us_topic_0000001062133103_p191499655120"></a><a name="en-us_topic_0000001062133103_p191499655120"></a>getColumns</p>
651</td>
652<td class="cellrowborder" valign="top" width="32%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_p16149146105111"><a name="en-us_topic_0000001062133103_p16149146105111"></a><a name="en-us_topic_0000001062133103_p16149146105111"></a>-</p>
653</td>
654<td class="cellrowborder" valign="top" width="45%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_p51491967515"><a name="en-us_topic_0000001062133103_p51491967515"></a><a name="en-us_topic_0000001062133103_p51491967515"></a>Returns the number of columns in the grid.</p>
655</td>
656</tr>
657<tr id="en-us_topic_0000001062133103_row89901747115010"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_p121491167519"><a name="en-us_topic_0000001062133103_p121491167519"></a><a name="en-us_topic_0000001062133103_p121491167519"></a>getColumnWidth</p>
658</td>
659<td class="cellrowborder" valign="top" width="32%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_p514914615113"><a name="en-us_topic_0000001062133103_p514914615113"></a><a name="en-us_topic_0000001062133103_p514914615113"></a>-</p>
660</td>
661<td class="cellrowborder" valign="top" width="45%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_p81491761519"><a name="en-us_topic_0000001062133103_p81491761519"></a><a name="en-us_topic_0000001062133103_p81491761519"></a>Returns the column width of the grid.</p>
662</td>
663</tr>
664<tr id="en-us_topic_0000001062133103_row440095118508"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_p614919617515"><a name="en-us_topic_0000001062133103_p614919617515"></a><a name="en-us_topic_0000001062133103_p614919617515"></a>getGutterWidth</p>
665</td>
666<td class="cellrowborder" valign="top" width="32%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_p91498685115"><a name="en-us_topic_0000001062133103_p91498685115"></a><a name="en-us_topic_0000001062133103_p91498685115"></a>-</p>
667</td>
668<td class="cellrowborder" valign="top" width="45%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_p51495615511"><a name="en-us_topic_0000001062133103_p51495615511"></a><a name="en-us_topic_0000001062133103_p51495615511"></a>Returns the gutter width between columns of the grid.</p>
669</td>
670</tr>
671<tr id="en-us_topic_0000001062133103_row1340723513"><td class="cellrowborder" valign="top" width="23%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001062133103_p31495615517"><a name="en-us_topic_0000001062133103_p31495615517"></a><a name="en-us_topic_0000001062133103_p31495615517"></a>getSizeType</p>
672</td>
673<td class="cellrowborder" valign="top" width="32%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001062133103_p1014956185118"><a name="en-us_topic_0000001062133103_p1014956185118"></a><a name="en-us_topic_0000001062133103_p1014956185118"></a>-</p>
674</td>
675<td class="cellrowborder" valign="top" width="45%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001062133103_p1414911617515"><a name="en-us_topic_0000001062133103_p1414911617515"></a><a name="en-us_topic_0000001062133103_p1414911617515"></a>Returns the size-responsive type of the grid container, which can be <strong id="en-us_topic_0000001062133103_b1935468442"><a name="en-us_topic_0000001062133103_b1935468442"></a><a name="en-us_topic_0000001062133103_b1935468442"></a>xs</strong>, <strong id="en-us_topic_0000001062133103_b79446104417"><a name="en-us_topic_0000001062133103_b79446104417"></a><a name="en-us_topic_0000001062133103_b79446104417"></a>sm</strong>, <strong id="en-us_topic_0000001062133103_b179546164415"><a name="en-us_topic_0000001062133103_b179546164415"></a><a name="en-us_topic_0000001062133103_b179546164415"></a>md</strong>, or <strong id="en-us_topic_0000001062133103_b910346144414"><a name="en-us_topic_0000001062133103_b910346144414"></a><a name="en-us_topic_0000001062133103_b910346144414"></a>lg</strong>.</p>
676</td>
677</tr>
678</tbody>
679</table>
680
681