• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# div<a name="EN-US_TOPIC_0000001115974730"></a>
2
3-   [Permission List](#en-us_topic_0000001059308532_section11257113618419)
4-   [Child Component](#en-us_topic_0000001059308532_section9288143101012)
5-   [Attribute](#en-us_topic_0000001059308532_section2907183951110)
6-   [Event](#en-us_topic_0000001059308532_section77341431152917)
7-   [Style](#en-us_topic_0000001059308532_section5775351116)
8-   [Example Code](#en-us_topic_0000001059308532_section1241545010391)
9
10The  **<div\>**  component is a basic container that is used as the root node of the page structure or is used to group the content.
11
12## Permission List<a name="en-us_topic_0000001059308532_section11257113618419"></a>
13
14None
15
16## Child Component<a name="en-us_topic_0000001059308532_section9288143101012"></a>
17
18Supported
19
20## Attribute<a name="en-us_topic_0000001059308532_section2907183951110"></a>
21
22<a name="en-us_topic_0000001059308532_table20633101642315"></a>
23<table><thead align="left"><tr id="en-us_topic_0000001059308532_row663331618238"><th class="cellrowborder" valign="top" width="23.119999999999997%" id="mcps1.1.6.1.1"><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a9ba8c579217b4b8b841b035f1d28b20e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a9ba8c579217b4b8b841b035f1d28b20e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a9ba8c579217b4b8b841b035f1d28b20e"></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_0000001059308532_en-us_topic_0000001058340523_a633002333b024497914a4b172446f14e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a633002333b024497914a4b172446f14e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a633002333b024497914a4b172446f14e"></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_0000001059308532_en-us_topic_0000001058340523_a4950f7884c6540b9ad523ac34657d952"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a4950f7884c6540b9ad523ac34657d952"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a4950f7884c6540b9ad523ac34657d952"></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_0000001059308532_p824610360217"><a name="en-us_topic_0000001059308532_p824610360217"></a><a name="en-us_topic_0000001059308532_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_0000001059308532_en-us_topic_0000001058340523_a1313564aa9404a338447087d5918c17d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a1313564aa9404a338447087d5918c17d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a1313564aa9404a338447087d5918c17d"></a>Description</p>
32</th>
33</tr>
34</thead>
35<tbody><tr id="en-us_topic_0000001059308532_row36332165231"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_adb8a73146d764f2aab50fc046169ab26"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_adb8a73146d764f2aab50fc046169ab26"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_adb8a73146d764f2aab50fc046169ab26"></a>id</p>
36</td>
37<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a06898db2627246f78e85d4fbadeee85c"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a06898db2627246f78e85d4fbadeee85c"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a06898db2627246f78e85d4fbadeee85c"></a>string</p>
38</td>
39<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ae685ead324a647bcba1bbb45c9402dd6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ae685ead324a647bcba1bbb45c9402dd6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ae685ead324a647bcba1bbb45c9402dd6"></a>-</p>
40</td>
41<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p42461736102118"><a name="en-us_topic_0000001059308532_p42461736102118"></a><a name="en-us_topic_0000001059308532_p42461736102118"></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_0000001059308532_en-us_topic_0000001058340523_a692121725a9b4ebbae65cd22b94b672e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a692121725a9b4ebbae65cd22b94b672e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a692121725a9b4ebbae65cd22b94b672e"></a>Unique ID of a component.</p>
44</td>
45</tr>
46<tr id="en-us_topic_0000001059308532_row13633131616239"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a7c032d302e1d437eac59680e066308b0"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a7c032d302e1d437eac59680e066308b0"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a7c032d302e1d437eac59680e066308b0"></a>style</p>
47</td>
48<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a6ba72f5c52df4fba9b02b5dffa26677e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a6ba72f5c52df4fba9b02b5dffa26677e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a6ba72f5c52df4fba9b02b5dffa26677e"></a>string</p>
49</td>
50<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a23cec1f95fd04ff1b3b20f58844ea654"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a23cec1f95fd04ff1b3b20f58844ea654"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a23cec1f95fd04ff1b3b20f58844ea654"></a>-</p>
51</td>
52<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p17246836142119"><a name="en-us_topic_0000001059308532_p17246836142119"></a><a name="en-us_topic_0000001059308532_p17246836142119"></a>No</p>
53</td>
54<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab9c92d331da44a0e9114f6760340680a"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab9c92d331da44a0e9114f6760340680a"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab9c92d331da44a0e9114f6760340680a"></a>Style declaration of a component.</p>
55</td>
56</tr>
57<tr id="en-us_topic_0000001059308532_row10634131610230"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a3e97d6d2a5b84e06bf619049840a00a8"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a3e97d6d2a5b84e06bf619049840a00a8"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a3e97d6d2a5b84e06bf619049840a00a8"></a>class</p>
58</td>
59<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_af0974175e9434735b035a4db9146aa04"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_af0974175e9434735b035a4db9146aa04"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_af0974175e9434735b035a4db9146aa04"></a>string</p>
60</td>
61<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_aa5caace6225b440eba13dc2230f3ef0f"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_aa5caace6225b440eba13dc2230f3ef0f"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_aa5caace6225b440eba13dc2230f3ef0f"></a>-</p>
62</td>
63<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p324614367213"><a name="en-us_topic_0000001059308532_p324614367213"></a><a name="en-us_topic_0000001059308532_p324614367213"></a>No</p>
64</td>
65<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a2f6321cf45ae481983a88dcc2f900900"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a2f6321cf45ae481983a88dcc2f900900"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a2f6321cf45ae481983a88dcc2f900900"></a>Style class of a component, which is used to refer to a style table.</p>
66</td>
67</tr>
68<tr id="en-us_topic_0000001059308532_row1634171618236"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p1786251117156"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p1786251117156"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p1786251117156"></a>ref</p>
69</td>
70<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p1086241119157"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p1086241119157"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p1086241119157"></a>string</p>
71</td>
72<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p586281111151"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p586281111151"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p586281111151"></a>-</p>
73</td>
74<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p1624612362219"><a name="en-us_topic_0000001059308532_p1624612362219"></a><a name="en-us_topic_0000001059308532_p1624612362219"></a>No</p>
75</td>
76<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p113416153342"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p113416153342"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_p113416153342"></a>Used to register reference information of child elements<span id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ph5815920163518"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ph5815920163518"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ph5815920163518"></a> or child components</span>. The reference information is registered with the parent component on <strong id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_b08212202354"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_b08212202354"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_b08212202354"></a>$refs</strong>.</p>
77</td>
78</tr>
79<tr id="en-us_topic_0000001059308532_row1863421642313"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab8d3c8007e0a42b9962e0db009e7be9d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab8d3c8007e0a42b9962e0db009e7be9d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab8d3c8007e0a42b9962e0db009e7be9d"></a>disabled</p>
80</td>
81<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a05782d6a1a5d42918bc95813dca610d6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a05782d6a1a5d42918bc95813dca610d6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a05782d6a1a5d42918bc95813dca610d6"></a>boolean</p>
82</td>
83<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a3e2f721f63a74e4b974e9bd5e2f88994"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a3e2f721f63a74e4b974e9bd5e2f88994"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a3e2f721f63a74e4b974e9bd5e2f88994"></a>false</p>
84</td>
85<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p192476368214"><a name="en-us_topic_0000001059308532_p192476368214"></a><a name="en-us_topic_0000001059308532_p192476368214"></a>No</p>
86</td>
87<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a4065980a1e914cf98acce5250ee4ae5a"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a4065980a1e914cf98acce5250ee4ae5a"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a4065980a1e914cf98acce5250ee4ae5a"></a>Whether a component is disabled. If it is disabled, it cannot respond to user interaction.</p>
88</td>
89</tr>
90<tr id="en-us_topic_0000001059308532_row1263451617236"><td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a751c9d46a62348ec902c7fdf97468b9d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a751c9d46a62348ec902c7fdf97468b9d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a751c9d46a62348ec902c7fdf97468b9d"></a>data</p>
91</td>
92<td class="cellrowborder" valign="top" width="23.119999999999997%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a8e6d1bb4d0bc423fb8466ee3acd1882f"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a8e6d1bb4d0bc423fb8466ee3acd1882f"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_a8e6d1bb4d0bc423fb8466ee3acd1882f"></a>string</p>
93</td>
94<td class="cellrowborder" valign="top" width="10.48%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab8cb15c9c3444b13b64945788131dce6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab8cb15c9c3444b13b64945788131dce6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_ab8cb15c9c3444b13b64945788131dce6"></a>-</p>
95</td>
96<td class="cellrowborder" valign="top" width="7.5200000000000005%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p22471736132114"><a name="en-us_topic_0000001059308532_p22471736132114"></a><a name="en-us_topic_0000001059308532_p22471736132114"></a>No</p>
97</td>
98<td class="cellrowborder" valign="top" width="35.76%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058340523_aa3f56a32296b4e85bcda2d2c00d0884f"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_aa3f56a32296b4e85bcda2d2c00d0884f"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058340523_aa3f56a32296b4e85bcda2d2c00d0884f"></a>Attribute set for a component to facilitate data storage and reading.</p>
99</td>
100</tr>
101</tbody>
102</table>
103
104## Event<a name="en-us_topic_0000001059308532_section77341431152917"></a>
105
106<a name="en-us_topic_0000001059308532_table836435619510"></a>
107<table><thead align="left"><tr id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_rf3d0da15d2f64cd492dfa1e7d98890a5"><th class="cellrowborder" valign="top" width="15.02%" id="mcps1.1.4.1.1"><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a487aa1c493e84ca68567b4b65051674d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a487aa1c493e84ca68567b4b65051674d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a487aa1c493e84ca68567b4b65051674d"></a>Name</p>
108</th>
109<th class="cellrowborder" valign="top" width="23.05%" id="mcps1.1.4.1.2"><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_adc4b506cda3043508da6ee7649c12ca4"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_adc4b506cda3043508da6ee7649c12ca4"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_adc4b506cda3043508da6ee7649c12ca4"></a>Parameter</p>
110</th>
111<th class="cellrowborder" valign="top" width="61.92999999999999%" id="mcps1.1.4.1.3"><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a59e4cbe58a5c42a7a4585bc8365783bc"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a59e4cbe58a5c42a7a4585bc8365783bc"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a59e4cbe58a5c42a7a4585bc8365783bc"></a>Triggered when</p>
112</th>
113</tr>
114</thead>
115<tbody><tr id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_r7683acd1d0964f31840d03c9aeb32fca"><td class="cellrowborder" valign="top" width="15.02%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a58fb4b1d870f466e955cf5ea879c4d4a"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a58fb4b1d870f466e955cf5ea879c4d4a"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a58fb4b1d870f466e955cf5ea879c4d4a"></a>touchstart</p>
116</td>
117<td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_abefebd99301b4bdebb798d1b9df24d8d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_abefebd99301b4bdebb798d1b9df24d8d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_abefebd99301b4bdebb798d1b9df24d8d"></a><a href="universal-events.md#en-us_topic_0000001058460527_tdb541af4e4db41d7a92e9b6e3c93f606">TouchEvent</a></p>
118</td>
119<td class="cellrowborder" valign="top" width="61.92999999999999%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_afa4290e2620f4f5fbdcb74dcae84e536"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_afa4290e2620f4f5fbdcb74dcae84e536"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_afa4290e2620f4f5fbdcb74dcae84e536"></a>The tapping starts</p>
120</td>
121</tr>
122<tr id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_r7f70ef6c895e4d2d95325887fee7d62e"><td class="cellrowborder" valign="top" width="15.02%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a23e0317cfee94650be4dcd2280c3e94e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a23e0317cfee94650be4dcd2280c3e94e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a23e0317cfee94650be4dcd2280c3e94e"></a>touchmove</p>
123</td>
124<td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_aea26e4f9575044dc8fb65080f3a6684a"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_aea26e4f9575044dc8fb65080f3a6684a"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_aea26e4f9575044dc8fb65080f3a6684a"></a><a href="universal-events.md#en-us_topic_0000001058460527_tdb541af4e4db41d7a92e9b6e3c93f606">TouchEvent</a></p>
125</td>
126<td class="cellrowborder" valign="top" width="61.92999999999999%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a37f7cc43d82c4ee18512bd079349079d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a37f7cc43d82c4ee18512bd079349079d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a37f7cc43d82c4ee18512bd079349079d"></a>The tapping moves</p>
127</td>
128</tr>
129<tr id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_ra5c278d41f9045ed9d95e13165974bf4"><td class="cellrowborder" valign="top" width="15.02%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_ad0728eeac06143bbb4a6fdf1ed5c6d91"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_ad0728eeac06143bbb4a6fdf1ed5c6d91"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_ad0728eeac06143bbb4a6fdf1ed5c6d91"></a>touchcancel</p>
130</td>
131<td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a59e2819eae2b4d3e935991b43156347b"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a59e2819eae2b4d3e935991b43156347b"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a59e2819eae2b4d3e935991b43156347b"></a><a href="universal-events.md#en-us_topic_0000001058460527_tdb541af4e4db41d7a92e9b6e3c93f606">TouchEvent</a></p>
132</td>
133<td class="cellrowborder" valign="top" width="61.92999999999999%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a739d9ef0db624f6284554aeaeddffa0a"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a739d9ef0db624f6284554aeaeddffa0a"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a739d9ef0db624f6284554aeaeddffa0a"></a>The tapping is interrupted</p>
134</td>
135</tr>
136<tr id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_rddfe06969173404d96b60c402a7e783c"><td class="cellrowborder" valign="top" width="15.02%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a233e2f6ff39f49fd97b8f233875d01d4"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a233e2f6ff39f49fd97b8f233875d01d4"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a233e2f6ff39f49fd97b8f233875d01d4"></a>touchend</p>
137</td>
138<td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a439e69aaf158448e99b3c81cbc9fd624"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a439e69aaf158448e99b3c81cbc9fd624"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a439e69aaf158448e99b3c81cbc9fd624"></a><a href="universal-events.md#en-us_topic_0000001058460527_tdb541af4e4db41d7a92e9b6e3c93f606">TouchEvent</a></p>
139</td>
140<td class="cellrowborder" valign="top" width="61.92999999999999%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a05c0fe4e05ef4154acee8a06ad56a2de"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a05c0fe4e05ef4154acee8a06ad56a2de"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a05c0fe4e05ef4154acee8a06ad56a2de"></a>The tapping ends</p>
141</td>
142</tr>
143<tr id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_rec1121b8bebc4a3f9ed9a906d061746e"><td class="cellrowborder" valign="top" width="15.02%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a2fb4de45b1594f6fa1a7da45ce0db57f"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a2fb4de45b1594f6fa1a7da45ce0db57f"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a2fb4de45b1594f6fa1a7da45ce0db57f"></a>click</p>
144</td>
145<td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_af86bf1da40504ed2a8d14213a42536ab"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_af86bf1da40504ed2a8d14213a42536ab"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_af86bf1da40504ed2a8d14213a42536ab"></a>-</p>
146</td>
147<td class="cellrowborder" valign="top" width="61.92999999999999%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a1d32f00c38c440ddaa63c3f3e01d4e09"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a1d32f00c38c440ddaa63c3f3e01d4e09"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a1d32f00c38c440ddaa63c3f3e01d4e09"></a>A component is clicked</p>
148</td>
149</tr>
150<tr id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_r95f500ef9402487ea42e829d69606f90"><td class="cellrowborder" valign="top" width="15.02%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_aa7dc63d1b4924872bbff6a6a100e928f"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_aa7dc63d1b4924872bbff6a6a100e928f"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_aa7dc63d1b4924872bbff6a6a100e928f"></a>longpress</p>
151</td>
152<td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a39186f4ff74544d89ace56ea87d9937b"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a39186f4ff74544d89ace56ea87d9937b"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a39186f4ff74544d89ace56ea87d9937b"></a>-</p>
153</td>
154<td class="cellrowborder" valign="top" width="61.92999999999999%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a44b8585170304b5596c41714772e605e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a44b8585170304b5596c41714772e605e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_a44b8585170304b5596c41714772e605e"></a>A component is long pressed</p>
155</td>
156</tr>
157<tr id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_row117014569616"><td class="cellrowborder" valign="top" width="15.02%" headers="mcps1.1.4.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p12706561061"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p12706561061"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p12706561061"></a>swipe<sup id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_sup35424382912"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_sup35424382912"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_sup35424382912"></a>5+</sup></p>
158</td>
159<td class="cellrowborder" valign="top" width="23.05%" headers="mcps1.1.4.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p11711056161"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p11711056161"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p11711056161"></a><a href="universal-events.md#en-us_topic_0000001058460527_table111811577714">SwipeEvent</a></p>
160</td>
161<td class="cellrowborder" valign="top" width="61.92999999999999%" headers="mcps1.1.4.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p2711556162"><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p2711556162"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001058460527_p2711556162"></a>A user quickly swipes on a component.</p>
162</td>
163</tr>
164</tbody>
165</table>
166
167## Style<a name="en-us_topic_0000001059308532_section5775351116"></a>
168
169<a name="en-us_topic_0000001059308532_table19959164918413"></a>
170<table><thead align="left"><tr id="en-us_topic_0000001059308532_row695974912415"><th class="cellrowborder" valign="top" width="23.11768823117688%" id="mcps1.1.6.1.1"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a14a0c012a26248cfbec6b13dcc4f2cbe"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a14a0c012a26248cfbec6b13dcc4f2cbe"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a14a0c012a26248cfbec6b13dcc4f2cbe"></a>Name</p>
171</th>
172<th class="cellrowborder" valign="top" width="20.477952204779523%" id="mcps1.1.6.1.2"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8dc328a555a74157a00de86181fc3a7b"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8dc328a555a74157a00de86181fc3a7b"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8dc328a555a74157a00de86181fc3a7b"></a>Type</p>
173</th>
174<th class="cellrowborder" valign="top" width="8.869113088691131%" id="mcps1.1.6.1.3"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a41a31e48d0c74ad4982add2655515c82"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a41a31e48d0c74ad4982add2655515c82"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a41a31e48d0c74ad4982add2655515c82"></a>Default Value</p>
175</th>
176<th class="cellrowborder" valign="top" width="7.519248075192481%" id="mcps1.1.6.1.4"><p id="en-us_topic_0000001059308532_p0959184916417"><a name="en-us_topic_0000001059308532_p0959184916417"></a><a name="en-us_topic_0000001059308532_p0959184916417"></a>Mandatory</p>
177</th>
178<th class="cellrowborder" valign="top" width="40.01599840015999%" id="mcps1.1.6.1.5"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af7a726e456f7485c87bd4e0527bc6584"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af7a726e456f7485c87bd4e0527bc6584"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af7a726e456f7485c87bd4e0527bc6584"></a>Description</p>
179</th>
180</tr>
181</thead>
182<tbody><tr id="en-us_topic_0000001059308532_row72422774310"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p106156422433"><a name="en-us_topic_0000001059308532_p106156422433"></a><a name="en-us_topic_0000001059308532_p106156422433"></a>flex-direction</p>
183</td>
184<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p46158429435"><a name="en-us_topic_0000001059308532_p46158429435"></a><a name="en-us_topic_0000001059308532_p46158429435"></a>string</p>
185</td>
186<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p961534217431"><a name="en-us_topic_0000001059308532_p961534217431"></a><a name="en-us_topic_0000001059308532_p961534217431"></a>row</p>
187</td>
188<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p86151342174319"><a name="en-us_topic_0000001059308532_p86151342174319"></a><a name="en-us_topic_0000001059308532_p86151342174319"></a>No</p>
189</td>
190<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p9615134214436"><a name="en-us_topic_0000001059308532_p9615134214436"></a><a name="en-us_topic_0000001059308532_p9615134214436"></a>Main axis direction of the flex container. Available values are as follows:</p>
191<a name="en-us_topic_0000001059308532_ul10615342184320"></a><a name="en-us_topic_0000001059308532_ul10615342184320"></a><ul id="en-us_topic_0000001059308532_ul10615342184320"><li><strong id="en-us_topic_0000001059308532_b72820310416"><a name="en-us_topic_0000001059308532_b72820310416"></a><a name="en-us_topic_0000001059308532_b72820310416"></a>column</strong>: Items are placed vertically from top to bottom.</li><li><strong id="en-us_topic_0000001059308532_b15112171904318"><a name="en-us_topic_0000001059308532_b15112171904318"></a><a name="en-us_topic_0000001059308532_b15112171904318"></a>row</strong>: Items are placed horizontally from left to right.</li></ul>
192</td>
193</tr>
194<tr id="en-us_topic_0000001059308532_row324311719436"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p12616104254316"><a name="en-us_topic_0000001059308532_p12616104254316"></a><a name="en-us_topic_0000001059308532_p12616104254316"></a>flex-wrap</p>
195</td>
196<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p1861624216433"><a name="en-us_topic_0000001059308532_p1861624216433"></a><a name="en-us_topic_0000001059308532_p1861624216433"></a>string</p>
197</td>
198<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p26161242174317"><a name="en-us_topic_0000001059308532_p26161242174317"></a><a name="en-us_topic_0000001059308532_p26161242174317"></a>nowrap</p>
199</td>
200<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p116166424431"><a name="en-us_topic_0000001059308532_p116166424431"></a><a name="en-us_topic_0000001059308532_p116166424431"></a>No</p>
201</td>
202<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p13616842134313"><a name="en-us_topic_0000001059308532_p13616842134313"></a><a name="en-us_topic_0000001059308532_p13616842134313"></a>Whether flex items in the container are displayed in a single line or multiple lines. Currently, dynamic modification is not supported. Available values are as follows:</p>
203<a name="en-us_topic_0000001059308532_ul136169424431"></a><a name="en-us_topic_0000001059308532_ul136169424431"></a><ul id="en-us_topic_0000001059308532_ul136169424431"><li><strong id="en-us_topic_0000001059308532_b17130154919435"><a name="en-us_topic_0000001059308532_b17130154919435"></a><a name="en-us_topic_0000001059308532_b17130154919435"></a>nowrap</strong>: Items are displayed on a single axis.</li><li><strong id="en-us_topic_0000001059308532_b9317903440"><a name="en-us_topic_0000001059308532_b9317903440"></a><a name="en-us_topic_0000001059308532_b9317903440"></a>wrap</strong>: Items are displayed on multiple axes.</li></ul>
204</td>
205</tr>
206<tr id="en-us_topic_0000001059308532_row11243147194319"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p961654212431"><a name="en-us_topic_0000001059308532_p961654212431"></a><a name="en-us_topic_0000001059308532_p961654212431"></a>justify-content</p>
207</td>
208<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p86163428431"><a name="en-us_topic_0000001059308532_p86163428431"></a><a name="en-us_topic_0000001059308532_p86163428431"></a>string</p>
209</td>
210<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p26161142184319"><a name="en-us_topic_0000001059308532_p26161142184319"></a><a name="en-us_topic_0000001059308532_p26161142184319"></a>flex-start</p>
211</td>
212<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p1561694284310"><a name="en-us_topic_0000001059308532_p1561694284310"></a><a name="en-us_topic_0000001059308532_p1561694284310"></a>No</p>
213</td>
214<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p176161342184317"><a name="en-us_topic_0000001059308532_p176161342184317"></a><a name="en-us_topic_0000001059308532_p176161342184317"></a>How items are aligned along the main axis of the current line in a flex container. Available values are as follows:</p>
215<a name="en-us_topic_0000001059308532_ul5616174210438"></a><a name="en-us_topic_0000001059308532_ul5616174210438"></a><ul id="en-us_topic_0000001059308532_ul5616174210438"><li><strong id="en-us_topic_0000001059308532_b1501318300"><a name="en-us_topic_0000001059308532_b1501318300"></a><a name="en-us_topic_0000001059308532_b1501318300"></a>flex-start</strong>: Items are packed towards the start line.</li><li><strong id="en-us_topic_0000001059308532_b44838392915"><a name="en-us_topic_0000001059308532_b44838392915"></a><a name="en-us_topic_0000001059308532_b44838392915"></a>flex-end</strong>: Items are packed towards the end line.</li><li><strong id="en-us_topic_0000001059308532_b1427203684411"><a name="en-us_topic_0000001059308532_b1427203684411"></a><a name="en-us_topic_0000001059308532_b1427203684411"></a>center</strong>: Items are centered along the line.</li><li><strong id="en-us_topic_0000001059308532_b22154711448"><a name="en-us_topic_0000001059308532_b22154711448"></a><a name="en-us_topic_0000001059308532_b22154711448"></a>space-between</strong>: Items are positioned with space between the lines.</li><li><strong id="en-us_topic_0000001059308532_b233020014456"><a name="en-us_topic_0000001059308532_b233020014456"></a><a name="en-us_topic_0000001059308532_b233020014456"></a>space-around</strong>: Items are positioned with space before, between, and after the lines.</li><li><strong id="en-us_topic_0000001059308532_b93731646175116"><a name="en-us_topic_0000001059308532_b93731646175116"></a><a name="en-us_topic_0000001059308532_b93731646175116"></a>space-evenly</strong><sup id="en-us_topic_0000001059308532_sup7995448141310"><a name="en-us_topic_0000001059308532_sup7995448141310"></a><a name="en-us_topic_0000001059308532_sup7995448141310"></a>5+</sup>: Items are arranged with even space between each two.</li></ul>
216</td>
217</tr>
218<tr id="en-us_topic_0000001059308532_row3243270439"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p12617942184311"><a name="en-us_topic_0000001059308532_p12617942184311"></a><a name="en-us_topic_0000001059308532_p12617942184311"></a>align-items</p>
219</td>
220<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p15617194264312"><a name="en-us_topic_0000001059308532_p15617194264312"></a><a name="en-us_topic_0000001059308532_p15617194264312"></a>string</p>
221</td>
222<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p061744213433"><a name="en-us_topic_0000001059308532_p061744213433"></a><a name="en-us_topic_0000001059308532_p061744213433"></a>stretch</p>
223</td>
224<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p12617154214437"><a name="en-us_topic_0000001059308532_p12617154214437"></a><a name="en-us_topic_0000001059308532_p12617154214437"></a>No</p>
225</td>
226<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p9617542124318"><a name="en-us_topic_0000001059308532_p9617542124318"></a><a name="en-us_topic_0000001059308532_p9617542124318"></a>How items are aligned along the cross axis of the current line in a flex container. Available values are as follows:</p>
227<a name="en-us_topic_0000001059308532_ul166171442134312"></a><a name="en-us_topic_0000001059308532_ul166171442134312"></a><ul id="en-us_topic_0000001059308532_ul166171442134312"><li><strong id="en-us_topic_0000001059308532_b11551451152410"><a name="en-us_topic_0000001059308532_b11551451152410"></a><a name="en-us_topic_0000001059308532_b11551451152410"></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_0000001059308532_b121104330341"><a name="en-us_topic_0000001059308532_b121104330341"></a><a name="en-us_topic_0000001059308532_b121104330341"></a>flex-start</strong>: Items are aligned to the start of the cross axis.</li><li><strong id="en-us_topic_0000001059308532_b475319397428"><a name="en-us_topic_0000001059308532_b475319397428"></a><a name="en-us_topic_0000001059308532_b475319397428"></a>flex-end</strong>: Items are aligned to the end of the cross axis.</li><li><strong id="en-us_topic_0000001059308532_b17197195713422"><a name="en-us_topic_0000001059308532_b17197195713422"></a><a name="en-us_topic_0000001059308532_b17197195713422"></a>center</strong>: Items are aligned in the middle of the cross axis.</li></ul>
228</td>
229</tr>
230<tr id="en-us_topic_0000001059308532_row924418734317"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p661810427433"><a name="en-us_topic_0000001059308532_p661810427433"></a><a name="en-us_topic_0000001059308532_p661810427433"></a>align-content </p>
231</td>
232<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p186181042174316"><a name="en-us_topic_0000001059308532_p186181042174316"></a><a name="en-us_topic_0000001059308532_p186181042174316"></a>string</p>
233</td>
234<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p19618144284315"><a name="en-us_topic_0000001059308532_p19618144284315"></a><a name="en-us_topic_0000001059308532_p19618144284315"></a>flex-start</p>
235</td>
236<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p461804254314"><a name="en-us_topic_0000001059308532_p461804254314"></a><a name="en-us_topic_0000001059308532_p461804254314"></a>No</p>
237</td>
238<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p13619134216439"><a name="en-us_topic_0000001059308532_p13619134216439"></a><a name="en-us_topic_0000001059308532_p13619134216439"></a>Multi-line alignment mode when there is extra space in the cross axis. Available values are as follows:</p>
239<a name="en-us_topic_0000001059308532_ul56191424436"></a><a name="en-us_topic_0000001059308532_ul56191424436"></a><ul id="en-us_topic_0000001059308532_ul56191424436"><li><strong id="en-us_topic_0000001059308532_b136621415154616"><a name="en-us_topic_0000001059308532_b136621415154616"></a><a name="en-us_topic_0000001059308532_b136621415154616"></a>flex-start</strong>: All lines are packed towards the start of the cross axis. The start edge of the cross axis of the first line is aligned with the start edge of the cross axis of the container. All subsequent lines are aligned with the previous line.</li><li><strong id="en-us_topic_0000001059308532_b597516158475"><a name="en-us_topic_0000001059308532_b597516158475"></a><a name="en-us_topic_0000001059308532_b597516158475"></a>flex-end</strong>: All lines are packed towards the end of the cross axis. The end of the cross axis of the last line is aligned with the end of the cross axis of the container. All subsequent lines are aligned with the previous line.</li><li><strong id="en-us_topic_0000001059308532_b13497201184810"><a name="en-us_topic_0000001059308532_b13497201184810"></a><a name="en-us_topic_0000001059308532_b13497201184810"></a>center</strong>: All lines are packed towards the center of the container. Lines 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 line is equal to the spacing between the end of the container's cross axis and the last line.</li><li><strong id="en-us_topic_0000001059308532_b1679416397492"><a name="en-us_topic_0000001059308532_b1679416397492"></a><a name="en-us_topic_0000001059308532_b1679416397492"></a>space-between</strong>: All lines are evenly distributed in the container. The spacing between two adjacent lines is the same. The start and end edges of the container's cross axis are aligned with the edges of the first and last lines, respectively.</li><li><strong id="en-us_topic_0000001059308532_b190019665015"><a name="en-us_topic_0000001059308532_b190019665015"></a><a name="en-us_topic_0000001059308532_b190019665015"></a>space-around</strong>: All lines are evenly distributed in the container, and the spacing between two adjacent lines is the same. The spacing between the start edge of the container's cross axis and the first line and that between the end edge and the last line are half of the spacing between two adjacent lines.</li></ul>
240</td>
241</tr>
242<tr id="en-us_topic_0000001059308532_row4448901436"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p166198429435"><a name="en-us_topic_0000001059308532_p166198429435"></a><a name="en-us_topic_0000001059308532_p166198429435"></a>display</p>
243</td>
244<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p86191542144318"><a name="en-us_topic_0000001059308532_p86191542144318"></a><a name="en-us_topic_0000001059308532_p86191542144318"></a>string</p>
245</td>
246<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p5619184218430"><a name="en-us_topic_0000001059308532_p5619184218430"></a><a name="en-us_topic_0000001059308532_p5619184218430"></a>flex</p>
247</td>
248<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p12619124234310"><a name="en-us_topic_0000001059308532_p12619124234310"></a><a name="en-us_topic_0000001059308532_p12619124234310"></a>No</p>
249</td>
250<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p1861914421435"><a name="en-us_topic_0000001059308532_p1861914421435"></a><a name="en-us_topic_0000001059308532_p1861914421435"></a>Type of the view box of the element. Currently, dynamic modification is not supported. Available values are as follows:</p>
251<a name="en-us_topic_0000001059308532_ul861920428436"></a><a name="en-us_topic_0000001059308532_ul861920428436"></a><ul id="en-us_topic_0000001059308532_ul861920428436"><li><strong id="en-us_topic_0000001059308532_b1723224655016"><a name="en-us_topic_0000001059308532_b1723224655016"></a><a name="en-us_topic_0000001059308532_b1723224655016"></a>flex</strong>: flexible layout</li><li><strong id="en-us_topic_0000001059308532_b15510348175010"><a name="en-us_topic_0000001059308532_b15510348175010"></a><a name="en-us_topic_0000001059308532_b15510348175010"></a>grid</strong>: grid layout</li><li><strong id="en-us_topic_0000001059308532_b8894056165017"><a name="en-us_topic_0000001059308532_b8894056165017"></a><a name="en-us_topic_0000001059308532_b8894056165017"></a>none</strong>: This item is not rendered.</li></ul>
252</td>
253</tr>
254<tr id="en-us_topic_0000001059308532_row77805615421"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p5620184220430"><a name="en-us_topic_0000001059308532_p5620184220430"></a><a name="en-us_topic_0000001059308532_p5620184220430"></a>grid-template-[columns|rows] </p>
255</td>
256<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p16206428434"><a name="en-us_topic_0000001059308532_p16206428434"></a><a name="en-us_topic_0000001059308532_p16206428434"></a>string</p>
257</td>
258<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p146205423435"><a name="en-us_topic_0000001059308532_p146205423435"></a><a name="en-us_topic_0000001059308532_p146205423435"></a>1 row, 1 column</p>
259</td>
260<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p6620194215437"><a name="en-us_topic_0000001059308532_p6620194215437"></a><a name="en-us_topic_0000001059308532_p6620194215437"></a>No</p>
261</td>
262<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p362010429434"><a name="en-us_topic_0000001059308532_p362010429434"></a><a name="en-us_topic_0000001059308532_p362010429434"></a>Number of rows and columns in the current grid layout. If this attribute is not set, one row and one column are displayed by default. This attribute is valid only when <strong id="en-us_topic_0000001059308532_b4125132113216"><a name="en-us_topic_0000001059308532_b4125132113216"></a><a name="en-us_topic_0000001059308532_b4125132113216"></a>display</strong> is set to <strong id="en-us_topic_0000001059308532_b12191152318329"><a name="en-us_topic_0000001059308532_b12191152318329"></a><a name="en-us_topic_0000001059308532_b12191152318329"></a>grid</strong>.</p>
263<p id="en-us_topic_0000001059308532_p176201942154312"><a name="en-us_topic_0000001059308532_p176201942154312"></a><a name="en-us_topic_0000001059308532_p176201942154312"></a>For example, set <strong id="en-us_topic_0000001059308532_b1023814188516"><a name="en-us_topic_0000001059308532_b1023814188516"></a><a name="en-us_topic_0000001059308532_b1023814188516"></a>grid-template-columns</strong> to:</p>
264<a name="en-us_topic_0000001059308532_ul71031873414"></a><a name="en-us_topic_0000001059308532_ul71031873414"></a><ul id="en-us_topic_0000001059308532_ul71031873414"><li><strong id="en-us_topic_0000001059308532_b112413913347"><a name="en-us_topic_0000001059308532_b112413913347"></a><a name="en-us_topic_0000001059308532_b112413913347"></a>50px 100px 60px</strong>: There are three columns. The first column is 50 px, the second column is 100 px, and the third column is 60 px.</li><li><strong id="en-us_topic_0000001059308532_b6967342153412"><a name="en-us_topic_0000001059308532_b6967342153412"></a><a name="en-us_topic_0000001059308532_b6967342153412"></a>1fr 1fr 2fr</strong>: There are three columns, and the width allowed by the parent component is divided into four equal shares. The first column occupies one share, the second column occupies one share, and the third column occupies two shares.</li><li><strong id="en-us_topic_0000001059308532_b869516133514"><a name="en-us_topic_0000001059308532_b869516133514"></a><a name="en-us_topic_0000001059308532_b869516133514"></a>30% 20% 50%</strong>: There are three columns. The first column occupies 30% of the total width allowed by the parent component, the second column occupies 20%, and the third column occupies 50%.</li><li><strong id="en-us_topic_0000001059308532_b2099416428352"><a name="en-us_topic_0000001059308532_b2099416428352"></a><a name="en-us_topic_0000001059308532_b2099416428352"></a>repeat (2,100px)</strong>: There are two columns. The first column is 100 px, and the second column is 100 px.</li><li><strong id="en-us_topic_0000001059308532_b1528612819366"><a name="en-us_topic_0000001059308532_b1528612819366"></a><a name="en-us_topic_0000001059308532_b1528612819366"></a>repeat(auto-fill,100px)</strong><sup id="en-us_topic_0000001059308532_sup126181292519"><a name="en-us_topic_0000001059308532_sup126181292519"></a><a name="en-us_topic_0000001059308532_sup126181292519"></a>5+</sup>: Each column is 100 px and repeats to fill the cross axis. The number of columns is calculated based on the column size and the cross axis size.</li><li><strong id="en-us_topic_0000001059308532_b10814174918444"><a name="en-us_topic_0000001059308532_b10814174918444"></a><a name="en-us_topic_0000001059308532_b10814174918444"></a>auto 1fr 1fr</strong>: There are three columns. The first column is adaptive to the width required by its child components. The remaining space is divided into two equal shares, one share occupied by each of the rest two columns.</li></ul>
265</td>
266</tr>
267<tr id="en-us_topic_0000001059308532_row8906194914426"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p1462094219433"><a name="en-us_topic_0000001059308532_p1462094219433"></a><a name="en-us_topic_0000001059308532_p1462094219433"></a>grid-[columns|rows]-gap </p>
268</td>
269<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p1762094215431"><a name="en-us_topic_0000001059308532_p1762094215431"></a><a name="en-us_topic_0000001059308532_p1762094215431"></a>&lt;length&gt;</p>
270</td>
271<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p16621114219434"><a name="en-us_topic_0000001059308532_p16621114219434"></a><a name="en-us_topic_0000001059308532_p16621114219434"></a>0</p>
272</td>
273<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p0621144214313"><a name="en-us_topic_0000001059308532_p0621144214313"></a><a name="en-us_topic_0000001059308532_p0621144214313"></a>No</p>
274</td>
275<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p5621164210433"><a name="en-us_topic_0000001059308532_p5621164210433"></a><a name="en-us_topic_0000001059308532_p5621164210433"></a>Size of the gap between two consecutive rows or columns in a grid layout. You can also use <strong id="en-us_topic_0000001059308532_b1693643993711"><a name="en-us_topic_0000001059308532_b1693643993711"></a><a name="en-us_topic_0000001059308532_b1693643993711"></a>grid-gap</strong> to set the same size of the gap between rows and columns. This attribute is valid only when <strong id="en-us_topic_0000001059308532_b293845163711"><a name="en-us_topic_0000001059308532_b293845163711"></a><a name="en-us_topic_0000001059308532_b293845163711"></a>display</strong> is set to <strong id="en-us_topic_0000001059308532_b74471448143716"><a name="en-us_topic_0000001059308532_b74471448143716"></a><a name="en-us_topic_0000001059308532_b74471448143716"></a>grid</strong>.</p>
276</td>
277</tr>
278<tr id="en-us_topic_0000001059308532_row63681446134219"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p56214422438"><a name="en-us_topic_0000001059308532_p56214422438"></a><a name="en-us_topic_0000001059308532_p56214422438"></a>grid-row-[start|end] </p>
279</td>
280<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p6621242164316"><a name="en-us_topic_0000001059308532_p6621242164316"></a><a name="en-us_topic_0000001059308532_p6621242164316"></a>number</p>
281</td>
282<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p762154294314"><a name="en-us_topic_0000001059308532_p762154294314"></a><a name="en-us_topic_0000001059308532_p762154294314"></a>-</p>
283</td>
284<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p1962114294317"><a name="en-us_topic_0000001059308532_p1962114294317"></a><a name="en-us_topic_0000001059308532_p1962114294317"></a>No</p>
285</td>
286<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p4621124244316"><a name="en-us_topic_0000001059308532_p4621124244316"></a><a name="en-us_topic_0000001059308532_p4621124244316"></a>Start and end row numbers of the current item in the grid layout. This attribute is valid only when <strong id="en-us_topic_0000001059308532_b399519351397"><a name="en-us_topic_0000001059308532_b399519351397"></a><a name="en-us_topic_0000001059308532_b399519351397"></a>display</strong> of the parent component is <strong id="en-us_topic_0000001059308532_b1195645915615"><a name="en-us_topic_0000001059308532_b1195645915615"></a><a name="en-us_topic_0000001059308532_b1195645915615"></a>grid</strong>. (The <strong id="en-us_topic_0000001059308532_b0224130151014"><a name="en-us_topic_0000001059308532_b0224130151014"></a><a name="en-us_topic_0000001059308532_b0224130151014"></a>display</strong> attribute of the parent component can be set to <strong id="en-us_topic_0000001059308532_b1984413131018"><a name="en-us_topic_0000001059308532_b1984413131018"></a><a name="en-us_topic_0000001059308532_b1984413131018"></a>grid</strong> only for the <strong id="en-us_topic_0000001059308532_b178561635105713"><a name="en-us_topic_0000001059308532_b178561635105713"></a><a name="en-us_topic_0000001059308532_b178561635105713"></a>&lt;div&gt;</strong> container.)</p>
287</td>
288</tr>
289<tr id="en-us_topic_0000001059308532_row1842574317422"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p1362154264312"><a name="en-us_topic_0000001059308532_p1362154264312"></a><a name="en-us_topic_0000001059308532_p1362154264312"></a>grid-column-[start|end] </p>
290</td>
291<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p2621174211439"><a name="en-us_topic_0000001059308532_p2621174211439"></a><a name="en-us_topic_0000001059308532_p2621174211439"></a>number</p>
292</td>
293<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p1621124212439"><a name="en-us_topic_0000001059308532_p1621124212439"></a><a name="en-us_topic_0000001059308532_p1621124212439"></a>-</p>
294</td>
295<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p15621124214313"><a name="en-us_topic_0000001059308532_p15621124214313"></a><a name="en-us_topic_0000001059308532_p15621124214313"></a>No</p>
296</td>
297<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p562119425433"><a name="en-us_topic_0000001059308532_p562119425433"></a><a name="en-us_topic_0000001059308532_p562119425433"></a>Start and end column numbers of the current item in the grid layout. This attribute is valid only when <strong id="en-us_topic_0000001059308532_b826524911361"><a name="en-us_topic_0000001059308532_b826524911361"></a><a name="en-us_topic_0000001059308532_b826524911361"></a>display</strong> of the parent component is <strong id="en-us_topic_0000001059308532_b1527010493361"><a name="en-us_topic_0000001059308532_b1527010493361"></a><a name="en-us_topic_0000001059308532_b1527010493361"></a>grid</strong>. (The <strong id="en-us_topic_0000001059308532_b22701449123614"><a name="en-us_topic_0000001059308532_b22701449123614"></a><a name="en-us_topic_0000001059308532_b22701449123614"></a>display</strong> attribute of the parent component can be set to <strong id="en-us_topic_0000001059308532_b1327011499366"><a name="en-us_topic_0000001059308532_b1327011499366"></a><a name="en-us_topic_0000001059308532_b1327011499366"></a>grid</strong> only for the <strong id="en-us_topic_0000001059308532_b122717491366"><a name="en-us_topic_0000001059308532_b122717491366"></a><a name="en-us_topic_0000001059308532_b122717491366"></a>&lt;div&gt;</strong> container.)</p>
298</td>
299</tr>
300<tr id="en-us_topic_0000001059308532_row1230183604617"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p10230133610465"><a name="en-us_topic_0000001059308532_p10230133610465"></a><a name="en-us_topic_0000001059308532_p10230133610465"></a>grid-auto-flow<sup id="en-us_topic_0000001059308532_sup163931650114610"><a name="en-us_topic_0000001059308532_sup163931650114610"></a><a name="en-us_topic_0000001059308532_sup163931650114610"></a>5+</sup></p>
301</td>
302<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p52303362465"><a name="en-us_topic_0000001059308532_p52303362465"></a><a name="en-us_topic_0000001059308532_p52303362465"></a>string</p>
303</td>
304<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p1823023617462"><a name="en-us_topic_0000001059308532_p1823023617462"></a><a name="en-us_topic_0000001059308532_p1823023617462"></a>-</p>
305</td>
306<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p2230123619467"><a name="en-us_topic_0000001059308532_p2230123619467"></a><a name="en-us_topic_0000001059308532_p2230123619467"></a>No</p>
307</td>
308<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p17230336174616"><a name="en-us_topic_0000001059308532_p17230336174616"></a><a name="en-us_topic_0000001059308532_p17230336174616"></a>Using an algorithm to lay out the grid automatically. Available values are as follows:</p>
309<a name="en-us_topic_0000001059308532_ul13246143774717"></a><a name="en-us_topic_0000001059308532_ul13246143774717"></a><ul id="en-us_topic_0000001059308532_ul13246143774717"><li><strong id="en-us_topic_0000001059308532_b193611954113620"><a name="en-us_topic_0000001059308532_b193611954113620"></a><a name="en-us_topic_0000001059308532_b193611954113620"></a>row</strong>: Elements are filled row by row. When there is no horizontal space in a row, a new row is added.</li><li><strong id="en-us_topic_0000001059308532_b191393569384"><a name="en-us_topic_0000001059308532_b191393569384"></a><a name="en-us_topic_0000001059308532_b191393569384"></a>column</strong>: Elements are filled column by column. When there is no vertical space in a column, a new column is added.</li></ul>
310</td>
311</tr>
312<tr id="en-us_topic_0000001059308532_row13959449154113"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8bc81ecef4934adf91deb1d6167045d7"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8bc81ecef4934adf91deb1d6167045d7"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8bc81ecef4934adf91deb1d6167045d7"></a>width</p>
313</td>
314<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a59692217b9c94353a020a2f0a20f01a7"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a59692217b9c94353a020a2f0a20f01a7"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a59692217b9c94353a020a2f0a20f01a7"></a>&lt;length&gt; | &lt;percentage&gt;</p>
315</td>
316<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p3948114217528"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p3948114217528"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p3948114217528"></a>-</p>
317</td>
318<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p596044934118"><a name="en-us_topic_0000001059308532_p596044934118"></a><a name="en-us_topic_0000001059308532_p596044934118"></a>No</p>
319</td>
320<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p624653010258"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p624653010258"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p624653010258"></a>Component width.</p>
321<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p84811050134010"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p84811050134010"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p84811050134010"></a>If this attribute is not set, the width required for the element content is used. </p>
322</td>
323</tr>
324<tr id="en-us_topic_0000001059308532_row19601349194115"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a738cc687552c4b8cb1aa9f9e7d9ea8c2"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a738cc687552c4b8cb1aa9f9e7d9ea8c2"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a738cc687552c4b8cb1aa9f9e7d9ea8c2"></a>height</p>
325</td>
326<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82c5d9c65b3646ec92afe5f0f47a2149"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82c5d9c65b3646ec92afe5f0f47a2149"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82c5d9c65b3646ec92afe5f0f47a2149"></a>&lt;length&gt;<span id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph11748352163918"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph11748352163918"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph11748352163918"></a></span> | &lt;percentage&gt;</p>
327</td>
328<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7e6c7daafecf475888d0420835662eb4"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7e6c7daafecf475888d0420835662eb4"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7e6c7daafecf475888d0420835662eb4"></a>-</p>
329</td>
330<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p3960249194118"><a name="en-us_topic_0000001059308532_p3960249194118"></a><a name="en-us_topic_0000001059308532_p3960249194118"></a>No</p>
331</td>
332<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1477601264"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1477601264"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1477601264"></a>Component height.</p>
333<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p208761554184020"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p208761554184020"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p208761554184020"></a>If this length attribute is not set, the length required for the element content is used. </p>
334</td>
335</tr>
336<tr id="en-us_topic_0000001059308532_row596084984110"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8ff18465b8f0453c836067e5902b7eb6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8ff18465b8f0453c836067e5902b7eb6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8ff18465b8f0453c836067e5902b7eb6"></a>padding</p>
337</td>
338<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a53628f36a25a4823a901d5b66860f44e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a53628f36a25a4823a901d5b66860f44e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a53628f36a25a4823a901d5b66860f44e"></a>&lt;length&gt; | &lt;percentage&gt;<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1886516813013"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1886516813013"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1886516813013"></a>5+</sup></p>
339</td>
340<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_adc824deaee924821a47a798b589f22c8"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_adc824deaee924821a47a798b589f22c8"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_adc824deaee924821a47a798b589f22c8"></a>0</p>
341</td>
342<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p19729127112814"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p19729127112814"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p19729127112814"></a>No</p>
343</td>
344<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157435053316"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157435053316"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157435053316"></a>Shorthand attribute to set all padding attributes.</p>
345<div class="p" id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a68a6d5ddc59c49f0aaddd82e75932524"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a68a6d5ddc59c49f0aaddd82e75932524"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a68a6d5ddc59c49f0aaddd82e75932524"></a>The attribute can have one to four values:<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul15202134923211"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul15202134923211"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul15202134923211"><li><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p10614155353215"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p10614155353215"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p10614155353215"></a>If you set only one value, it specifies the padding for four sides.</p>
346</li><li><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p10614175393216"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p10614175393216"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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>
347</li><li><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p8614205393214"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p8614205393214"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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>
348</li><li><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p106141853193215"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p106141853193215"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p106141853193215"></a>If you set four values, they respectively specify the padding for top, right, bottom, and left sides (in clockwise order).</p>
349</li></ul>
350</div>
351</td>
352</tr>
353<tr id="en-us_topic_0000001059308532_row29611949164112"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab0185a7b5a4944f3b38f8c71c8ca794d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab0185a7b5a4944f3b38f8c71c8ca794d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab0185a7b5a4944f3b38f8c71c8ca794d"></a>padding-[left|top|right|bottom]</p>
354</td>
355<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a49dd523e2f1b4253a19231e776dc1951"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a49dd523e2f1b4253a19231e776dc1951"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a49dd523e2f1b4253a19231e776dc1951"></a>&lt;length&gt; | &lt;percentage&gt;<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup19949912807"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup19949912807"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup19949912807"></a>5+</sup></p>
356</td>
357<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af52ecd93919b4fa08ae4d376e3d544a2"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af52ecd93919b4fa08ae4d376e3d544a2"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af52ecd93919b4fa08ae4d376e3d544a2"></a>0</p>
358</td>
359<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p11729374289"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p11729374289"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p11729374289"></a>No</p>
360</td>
361<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a3575ab240d384ab1a21119ea3428ab7d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a3575ab240d384ab1a21119ea3428ab7d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a3575ab240d384ab1a21119ea3428ab7d"></a>Left, top, right, and bottom padding (in px).</p>
362</td>
363</tr>
364<tr id="en-us_topic_0000001059308532_row11961184912413"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p769124717365"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p769124717365"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p769124717365"></a>padding-[start|end]</p>
365</td>
366<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157617124374"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157617124374"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157617124374"></a>&lt;length&gt; | &lt;percentage&gt;<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup8490161513019"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup8490161513019"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup8490161513019"></a>5+</sup></p>
367</td>
368<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1069144703616"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1069144703616"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1069144703616"></a>0</p>
369</td>
370<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1373027182819"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1373027182819"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1373027182819"></a>No</p>
371</td>
372<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1269184753610"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1269184753610"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1269184753610"></a>Start and end padding.</p>
373</td>
374</tr>
375<tr id="en-us_topic_0000001059308532_row189621349194112"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afa508e5429d948b2b561943d6b2f0f31"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afa508e5429d948b2b561943d6b2f0f31"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afa508e5429d948b2b561943d6b2f0f31"></a>margin</p>
376</td>
377<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a4dab4f9d97a74a27a45b7ef1d2ab08e6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a4dab4f9d97a74a27a45b7ef1d2ab08e6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a4dab4f9d97a74a27a45b7ef1d2ab08e6"></a>&lt;length&gt; | &lt;percentage&gt;<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1433352175220"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1433352175220"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1433352175220"></a>5+</sup></p>
378</td>
379<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5e3c234d78214e8180b51d237adda154"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5e3c234d78214e8180b51d237adda154"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5e3c234d78214e8180b51d237adda154"></a>0</p>
380</td>
381<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p4730774285"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p4730774285"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p4730774285"></a>No</p>
382</td>
383<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a1d350e36a773420baf5ebb930cd5ad66"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a1d350e36a773420baf5ebb930cd5ad66"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a1d350e36a773420baf5ebb930cd5ad66"></a>Shorthand attribute to set margins for all sides in a declaration. The attribute can have one to four values:</p>
384<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul5333133311105"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul5333133311105"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul5333133311105"><li><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p03345339103"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p03345339103"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p03345339103"></a>If you set only one value, it specifies the margin for all the four sides.</p>
385</li><li><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1133420334108"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1133420334108"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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>
386</li><li><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p193341533191015"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p193341533191015"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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>
387</li><li><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p733412334102"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p733412334102"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p733412334102"></a>If you set four values, they are margins for top, right, bottom, and left sides, respectively.</p>
388</li></ul>
389</td>
390</tr>
391<tr id="en-us_topic_0000001059308532_row12962149134115"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a70939a36b2b04dd8bec21f5bddc8637e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a70939a36b2b04dd8bec21f5bddc8637e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a70939a36b2b04dd8bec21f5bddc8637e"></a>margin-[left|top|right|bottom]</p>
392</td>
393<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae53ac9ac370d483990e04ea9789c1e49"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae53ac9ac370d483990e04ea9789c1e49"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae53ac9ac370d483990e04ea9789c1e49"></a>&lt;length&gt; | &lt;percentage&gt;<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup378331720532"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup378331720532"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup378331720532"></a>5+</sup></p>
394</td>
395<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a180cd037e6174e5c82f35a3a66b6f2ec"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a180cd037e6174e5c82f35a3a66b6f2ec"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a180cd037e6174e5c82f35a3a66b6f2ec"></a>0</p>
396</td>
397<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p773013742811"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p773013742811"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p773013742811"></a>No</p>
398</td>
399<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a487d09add6e54c5c89fa4f22e9318271"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a487d09add6e54c5c89fa4f22e9318271"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a487d09add6e54c5c89fa4f22e9318271"></a>Left, top, right, and bottom margins.</p>
400</td>
401</tr>
402<tr id="en-us_topic_0000001059308532_row896244984111"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p9492107123816"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p9492107123816"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p9492107123816"></a>margin-[start|end]</p>
403</td>
404<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157617124374_1"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157617124374_1"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p157617124374_1"></a>&lt;length&gt; | &lt;percentage&gt;<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup8490161513019_1"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup8490161513019_1"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup8490161513019_1"></a>5+</sup></p>
405</td>
406<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1549213793811"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1549213793811"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1549213793811"></a>0</p>
407</td>
408<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p9963449134120"><a name="en-us_topic_0000001059308532_p9963449134120"></a><a name="en-us_topic_0000001059308532_p9963449134120"></a>No</p>
409</td>
410<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1049212715388"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1049212715388"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1049212715388"></a>Start and end margins.</p>
411</td>
412</tr>
413<tr id="en-us_topic_0000001059308532_row4963104994120"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a222bb48f24014f2eb2b16a1a840bbebb"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a222bb48f24014f2eb2b16a1a840bbebb"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a222bb48f24014f2eb2b16a1a840bbebb"></a>border</p>
414</td>
415<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a79b4eaf9983c44d0aad39ff04d0997a8"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a79b4eaf9983c44d0aad39ff04d0997a8"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a79b4eaf9983c44d0aad39ff04d0997a8"></a>-</p>
416</td>
417<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aac320f4f0a42401aa7fa778d9829d77c"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aac320f4f0a42401aa7fa778d9829d77c"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aac320f4f0a42401aa7fa778d9829d77c"></a>0</p>
418</td>
419<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p16963114984116"><a name="en-us_topic_0000001059308532_p16963114984116"></a><a name="en-us_topic_0000001059308532_p16963114984116"></a>No</p>
420</td>
421<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9cd962871a4c467a8e1ef452621d5cd7"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9cd962871a4c467a8e1ef452621d5cd7"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9cd962871a4c467a8e1ef452621d5cd7"></a>Shorthand attribute to set all borders. You can set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b79128342503"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b79128342503"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b79128342503"></a>border-width</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b9366173919505"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b9366173919505"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b9366173919505"></a>border-style</strong>, and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b184351248205019"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b184351248205019"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b184351248205019"></a>border-color</strong> in sequence. Default values are used for attributes that are not set.</p>
422</td>
423</tr>
424<tr id="en-us_topic_0000001059308532_row169631749164113"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a987708c0864a4128af094334f1b024b3"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a987708c0864a4128af094334f1b024b3"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a987708c0864a4128af094334f1b024b3"></a>border-style</p>
425</td>
426<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p513631613319"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p513631613319"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p513631613319"></a>string</p>
427</td>
428<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2567083af59c40e58e3e4d9b0ddf1485"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2567083af59c40e58e3e4d9b0ddf1485"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2567083af59c40e58e3e4d9b0ddf1485"></a>solid</p>
429</td>
430<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p79641249184116"><a name="en-us_topic_0000001059308532_p79641249184116"></a><a name="en-us_topic_0000001059308532_p79641249184116"></a>No</p>
431</td>
432<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p342285712314"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p342285712314"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p342285712314"></a>Shorthand attribute to set the style for all borders. Available values are as follows:</p>
433<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1470834505612"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1470834505612"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1470834505612"><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b143453286360"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b143453286360"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b143453286360"></a>dotted</strong>: Dotted border. The radius of a dot is half of border-width.</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b792117280367"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b792117280367"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b792117280367"></a>dashed</strong>: Dashed border</li></ul>
434<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul15621125545612"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul15621125545612"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul15621125545612"><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1335862963610"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1335862963610"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1335862963610"></a>solid</strong>: Solid border</li></ul>
435</td>
436</tr>
437<tr id="en-us_topic_0000001059308532_row158901822154418"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_p589112225442"><a name="en-us_topic_0000001059308532_p589112225442"></a><a name="en-us_topic_0000001059308532_p589112225442"></a>border-[left|top|right|bottom]-style</p>
438</td>
439<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_p6891102211445"><a name="en-us_topic_0000001059308532_p6891102211445"></a><a name="en-us_topic_0000001059308532_p6891102211445"></a>string</p>
440</td>
441<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_p118911422104419"><a name="en-us_topic_0000001059308532_p118911422104419"></a><a name="en-us_topic_0000001059308532_p118911422104419"></a>solid</p>
442</td>
443<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p1891132284413"><a name="en-us_topic_0000001059308532_p1891132284413"></a><a name="en-us_topic_0000001059308532_p1891132284413"></a>No</p>
444</td>
445<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_p16891102274415"><a name="en-us_topic_0000001059308532_p16891102274415"></a><a name="en-us_topic_0000001059308532_p16891102274415"></a>Styles of the left, top, right, and bottom borders. The available values are <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17769171311540"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17769171311540"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17769171311540"></a>dotted</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b237141519547"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b237141519547"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b237141519547"></a>dashed</strong>, and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b8949161613540"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b8949161613540"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b8949161613540"></a>solid</strong>.</p>
446</td>
447</tr>
448<tr id="en-us_topic_0000001059308532_row496412498416"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8afd82b1aba547d3b0188b749518b2de"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8afd82b1aba547d3b0188b749518b2de"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8afd82b1aba547d3b0188b749518b2de"></a>border-[left|top|right|bottom]</p>
449</td>
450<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac4b8a3b39e5446b5868f1f2989dc9590"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac4b8a3b39e5446b5868f1f2989dc9590"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac4b8a3b39e5446b5868f1f2989dc9590"></a>-</p>
451</td>
452<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a3420bc82bd17458ab82fa996ade7064c"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a3420bc82bd17458ab82fa996ade7064c"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a3420bc82bd17458ab82fa996ade7064c"></a>-</p>
453</td>
454<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p67303762810"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p67303762810"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p67303762810"></a>No</p>
455</td>
456<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af4178a066c344412afbd38f4b0c44818"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af4178a066c344412afbd38f4b0c44818"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af4178a066c344412afbd38f4b0c44818"></a>Shorthand attribute to set the borders for every side respectively. You can set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b122415514554"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b122415514554"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b122415514554"></a>border-width</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b12296178135513"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b12296178135513"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b12296178135513"></a>border-style</strong>, and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1129701210553"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1129701210553"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1129701210553"></a>border-color</strong> in sequence. Default values are used for attributes that are not set.</p>
457</td>
458</tr>
459<tr id="en-us_topic_0000001059308532_row3965949124116"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_adf0e0afedc774afca9cda0e509391029"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_adf0e0afedc774afca9cda0e509391029"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_adf0e0afedc774afca9cda0e509391029"></a>border-width</p>
460</td>
461<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0782ea2c45eb4864a8df82f30dd2cd5f"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0782ea2c45eb4864a8df82f30dd2cd5f"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0782ea2c45eb4864a8df82f30dd2cd5f"></a>&lt;length&gt;</p>
462</td>
463<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a395cbedd521145bd820b9171ee2dd7ac"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a395cbedd521145bd820b9171ee2dd7ac"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a395cbedd521145bd820b9171ee2dd7ac"></a>0</p>
464</td>
465<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p109652499414"><a name="en-us_topic_0000001059308532_p109652499414"></a><a name="en-us_topic_0000001059308532_p109652499414"></a>No</p>
466</td>
467<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7ae60621ea3341818a03bfdffa641894"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7ae60621ea3341818a03bfdffa641894"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7ae60621ea3341818a03bfdffa641894"></a>Shorthand attribute to set the width of all borders<span id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph07997369365"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph07997369365"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph07997369365"></a>, or separately set the width of each border</span>.</p>
468</td>
469</tr>
470<tr id="en-us_topic_0000001059308532_row189651496412"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7371edc07c664266a2e1866f31ad0d0c"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7371edc07c664266a2e1866f31ad0d0c"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a7371edc07c664266a2e1866f31ad0d0c"></a>border-[left|top|right|bottom]-width</p>
471</td>
472<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2faa532b841948a7b6598542b4eccc7b"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2faa532b841948a7b6598542b4eccc7b"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2faa532b841948a7b6598542b4eccc7b"></a>&lt;length&gt;</p>
473</td>
474<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a87f38cfa47f54bc18c32f9671c0f9ca6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a87f38cfa47f54bc18c32f9671c0f9ca6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a87f38cfa47f54bc18c32f9671c0f9ca6"></a>0</p>
475</td>
476<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p896584912413"><a name="en-us_topic_0000001059308532_p896584912413"></a><a name="en-us_topic_0000001059308532_p896584912413"></a>No</p>
477</td>
478<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a20386e66c3834d5f96cf9435c4715c5b"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a20386e66c3834d5f96cf9435c4715c5b"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a20386e66c3834d5f96cf9435c4715c5b"></a>Attribute to set widths of left, top, right, and bottom borders.</p>
479</td>
480</tr>
481<tr id="en-us_topic_0000001059308532_row69651749144113"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a40a816cf0a03489d81f209a8aa7d81a6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a40a816cf0a03489d81f209a8aa7d81a6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a40a816cf0a03489d81f209a8aa7d81a6"></a>border-color</p>
482</td>
483<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afcc7c948ae0947b2a78002d31f2f9748"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afcc7c948ae0947b2a78002d31f2f9748"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afcc7c948ae0947b2a78002d31f2f9748"></a>&lt;color&gt;</p>
484</td>
485<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae0909d2b896342f9b2196fe0dce72920"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae0909d2b896342f9b2196fe0dce72920"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae0909d2b896342f9b2196fe0dce72920"></a>black</p>
486</td>
487<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p7966184984116"><a name="en-us_topic_0000001059308532_p7966184984116"></a><a name="en-us_topic_0000001059308532_p7966184984116"></a>No</p>
488</td>
489<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a76fd98995e1d4217aa703fecd69325c7"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a76fd98995e1d4217aa703fecd69325c7"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a76fd98995e1d4217aa703fecd69325c7"></a>Shorthand attribute to set the color of all borders<span id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph9587639113619"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph9587639113619"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph9587639113619"></a>, or separately set the color of each border</span>.</p>
490</td>
491</tr>
492<tr id="en-us_topic_0000001059308532_row13966174910413"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2afc646d6a2549548bcd5c4b9bed1fb5"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2afc646d6a2549548bcd5c4b9bed1fb5"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2afc646d6a2549548bcd5c4b9bed1fb5"></a>border-[left|top|right|bottom]-color</p>
493</td>
494<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a34556866a4f54f5da88f148fc698867b"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a34556866a4f54f5da88f148fc698867b"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a34556866a4f54f5da88f148fc698867b"></a>&lt;color&gt;</p>
495</td>
496<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8ff58e18553846a38e82c69149e2aa30"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8ff58e18553846a38e82c69149e2aa30"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8ff58e18553846a38e82c69149e2aa30"></a>black</p>
497</td>
498<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p59661649184117"><a name="en-us_topic_0000001059308532_p59661649184117"></a><a name="en-us_topic_0000001059308532_p59661649184117"></a>No</p>
499</td>
500<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5c85947d388c4c7fbf0de07b022bb44e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5c85947d388c4c7fbf0de07b022bb44e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5c85947d388c4c7fbf0de07b022bb44e"></a>Attribute to set colors of left, top, right, and bottom borders.</p>
501</td>
502</tr>
503<tr id="en-us_topic_0000001059308532_row396610497417"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a65974e3078c447a383fb9237cc4ffa32"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a65974e3078c447a383fb9237cc4ffa32"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a65974e3078c447a383fb9237cc4ffa32"></a>border-radius</p>
504</td>
505<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a413fd0aea8b243349a19f825e96ee8b6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a413fd0aea8b243349a19f825e96ee8b6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a413fd0aea8b243349a19f825e96ee8b6"></a>&lt;length&gt;</p>
506</td>
507<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af786857698c74e259f52589a6670a0a1"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af786857698c74e259f52589a6670a0a1"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af786857698c74e259f52589a6670a0a1"></a>-</p>
508</td>
509<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p67306752816"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p67306752816"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p67306752816"></a>No</p>
510</td>
511<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a52ca834f42124d3b8b12bbf54914fc96"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a52ca834f42124d3b8b12bbf54914fc96"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a52ca834f42124d3b8b12bbf54914fc96"></a>Attribute to set the radius of round borders of an element. <span id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph1249443123611"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph1249443123611"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph1249443123611"></a>This attribute cannot be used to set the width, color, or style of a specific border. To set the width or color, you need to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b124211434362"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b124211434362"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b124211434362"></a>border-width</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b124894383615"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b124894383615"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b124894383615"></a>border-color</strong>, or <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b7166134516465"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b7166134516465"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b7166134516465"></a>border-style</strong> for all the borders at the same time.</span></p>
512</td>
513</tr>
514<tr id="en-us_topic_0000001059308532_row396604917417"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a466f1f8bc2fb404e82e8417c5133eacb"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a466f1f8bc2fb404e82e8417c5133eacb"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a466f1f8bc2fb404e82e8417c5133eacb"></a>border-[top|bottom]-[left|right]-radius</p>
515</td>
516<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a499fe910d0284647abc48b1bd0eb4868"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a499fe910d0284647abc48b1bd0eb4868"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a499fe910d0284647abc48b1bd0eb4868"></a>&lt;length&gt;</p>
517</td>
518<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac142d1054eee499f948069f46129c492"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac142d1054eee499f948069f46129c492"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac142d1054eee499f948069f46129c492"></a>-</p>
519</td>
520<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p27305718283"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p27305718283"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p27305718283"></a>No</p>
521</td>
522<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a63757091a86c4ced97f0c39d37a2117c"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a63757091a86c4ced97f0c39d37a2117c"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a63757091a86c4ced97f0c39d37a2117c"></a>Attribute to receptively set the radii of upper-left, upper-right, lower-right, and lower-left rounded corners</p>
523</td>
524</tr>
525<tr id="en-us_topic_0000001059308532_row296744944115"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae335be2c6150440fb31b40b1ca117858"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae335be2c6150440fb31b40b1ca117858"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae335be2c6150440fb31b40b1ca117858"></a>background</p>
526</td>
527<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a394a81171c5c4d1aa81b94fc5d2f0f07"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a394a81171c5c4d1aa81b94fc5d2f0f07"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a394a81171c5c4d1aa81b94fc5d2f0f07"></a>&lt;linear-gradient&gt;</p>
528</td>
529<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0734de04e90e470cb608e8d5f42c6874"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0734de04e90e470cb608e8d5f42c6874"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0734de04e90e470cb608e8d5f42c6874"></a>-</p>
530</td>
531<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p15730197132811"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p15730197132811"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p15730197132811"></a>No</p>
532</td>
533<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a1d2985ee819d4cfd87861080354def51"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a1d2985ee819d4cfd87861080354def51"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a1d2985ee819d4cfd87861080354def51"></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_0000001059308532_en-us_topic_0000001059340528_b389373419292"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b389373419292"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b389373419292"></a>background-color</strong> or <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b0399637142918"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b0399637142918"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b0399637142918"></a>background-image</strong>.</p>
534</td>
535</tr>
536<tr id="en-us_topic_0000001059308532_row1296744944115"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2977672444224b738a566c61225961c2"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2977672444224b738a566c61225961c2"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2977672444224b738a566c61225961c2"></a>background-color</p>
537</td>
538<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a87186748ed7c4694aef0095d8a7f8e43"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a87186748ed7c4694aef0095d8a7f8e43"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a87186748ed7c4694aef0095d8a7f8e43"></a>&lt;color&gt;</p>
539</td>
540<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2775a3cca8994bec9b754af0d2455eb5"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2775a3cca8994bec9b754af0d2455eb5"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2775a3cca8994bec9b754af0d2455eb5"></a>-</p>
541</td>
542<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p17730577282"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p17730577282"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p17730577282"></a>No</p>
543</td>
544<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a372b6089bf9746f091c91fa49b571f1d"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a372b6089bf9746f091c91fa49b571f1d"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a372b6089bf9746f091c91fa49b571f1d"></a>Background color.</p>
545</td>
546</tr>
547<tr id="en-us_topic_0000001059308532_row19672493414"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab2dff80cd59c4db1bf4293172f89735e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab2dff80cd59c4db1bf4293172f89735e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab2dff80cd59c4db1bf4293172f89735e"></a>background-image</p>
548</td>
549<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ad9a7e9f2469b45238a6a0ac6da232286"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ad9a7e9f2469b45238a6a0ac6da232286"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ad9a7e9f2469b45238a6a0ac6da232286"></a>string</p>
550</td>
551<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a73fb72c96edd488ba74c364568e345c6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a73fb72c96edd488ba74c364568e345c6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a73fb72c96edd488ba74c364568e345c6"></a>-</p>
552</td>
553<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p7730976285"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p7730976285"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p7730976285"></a>No</p>
554</td>
555<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a24de29e3cb4d476fabe55d48d69350a8"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a24de29e3cb4d476fabe55d48d69350a8"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a24de29e3cb4d476fabe55d48d69350a8"></a>Background image. Currently, this attribute is not compatible with <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17699154763620"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17699154763620"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17699154763620"></a>background-color</strong> or <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b87001647163613"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b87001647163613"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b87001647163613"></a>background</strong>. Local image resources are supported.</p>
556<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p45914251572"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p45914251572"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p45914251572"></a>Example:</p>
557<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16184973578"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16184973578"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16184973578"></a>background-image: url("/common/background.png")</p>
558</td>
559</tr>
560<tr id="en-us_topic_0000001059308532_row6968174994111"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af81424fd1fbf4f5da65ea5d136390494"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af81424fd1fbf4f5da65ea5d136390494"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_af81424fd1fbf4f5da65ea5d136390494"></a>background-size</p>
561</td>
562<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1065173641310"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1065173641310"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1065173641310"><li>string</li><li>&lt;length&gt; &lt;length&gt;</li><li>&lt;percentage&gt; &lt;percentage&gt;</li></ul>
563</td>
564<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a222f4e09239a4ab08880d1d9544d337c"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a222f4e09239a4ab08880d1d9544d337c"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a222f4e09239a4ab08880d1d9544d337c"></a>auto</p>
565</td>
566<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p137309714282"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p137309714282"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p137309714282"></a>No</p>
567</td>
568<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p91971112114318"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p91971112114318"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p91971112114318"></a>Background image size.</p>
569<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul41331853154111"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul41331853154111"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul41331853154111"><li>The <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1229715499365"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1229715499365"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1229715499365"></a>string</strong> values are as follows:<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul13611494111"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul13611494111"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul13611494111"><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b4759749163610"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b4759749163610"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b437619381712"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b437619381712"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b437619381712"></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 area.</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1425512535366"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1425512535366"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1425512535366"></a>auto</strong>: The original image width-height ratio is retained.</li></ul>
570</li><li>The two <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13309145193614"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13309145193614"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13309145193614"></a>&lt;length&gt;</strong> values are as follows:<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1840244924418"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1840244924418"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b146661156143617"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b146661156143617"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b146661156143617"></a>auto</strong> by default.</p>
571</li><li>The two <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1667415763613"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1667415763613"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1667415763613"></a>&lt;percentage&gt;</strong> values are as follows:<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p17936154410457"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p17936154410457"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b1524319254"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1524319254"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1524319254"></a>auto</strong> by default.</p>
572</li></ul>
573</td>
574</tr>
575<tr id="en-us_topic_0000001059308532_row12969849174110"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9957170386754fb5b648ba2114bd52d4"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9957170386754fb5b648ba2114bd52d4"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9957170386754fb5b648ba2114bd52d4"></a>background-repeat</p>
576</td>
577<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a155b4cc325e747279694d36c2fa69bcc"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a155b4cc325e747279694d36c2fa69bcc"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a155b4cc325e747279694d36c2fa69bcc"></a>string</p>
578</td>
579<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82029c0dc1d540cf994f690b451c48f4"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82029c0dc1d540cf994f690b451c48f4"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82029c0dc1d540cf994f690b451c48f4"></a>repeat</p>
580</td>
581<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1673015702810"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1673015702810"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1673015702810"></a>No</p>
582</td>
583<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afb8e41c117884b368a0f1df348be8e54"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afb8e41c117884b368a0f1df348be8e54"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_afb8e41c117884b368a0f1df348be8e54"></a>How a background image is repeatedly drawn. By default, a background image is repeated both horizontally and vertically.</p>
584<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul8236153103612"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul8236153103612"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul8236153103612"><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1363463710"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1363463710"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1363463710"></a>repeat</strong>: Repeatedly draws images along the x-axis and y-axis at the same time.</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b267416916377"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b267416916377"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b267416916377"></a>repeat-x</strong>: Repeatedly draws images along the x-axis.</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b625561011379"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b625561011379"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b625561011379"></a>repeat-y</strong>: Repeatedly draws images along the y-axis.</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1122181133715"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1122181133715"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1122181133715"></a>no-repeat</strong>: The image is not drawn repeatedly.</li></ul>
585</td>
586</tr>
587<tr id="en-us_topic_0000001059308532_row9970104918413"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a709eb4a9fa87428897bebb4a98693df2"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a709eb4a9fa87428897bebb4a98693df2"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a709eb4a9fa87428897bebb4a98693df2"></a>background-position</p>
588</td>
589<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul8874155216502"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul8874155216502"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul8874155216502"><li>string string</li><li>&lt;length&gt; &lt;length&gt;</li><li>&lt;percentage&gt; &lt;percentage&gt;</li></ul>
590</td>
591<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a6f8f5d1c92f447bd868a841ad1a33cb1"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a6f8f5d1c92f447bd868a841ad1a33cb1"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a6f8f5d1c92f447bd868a841ad1a33cb1"></a>0px 0px</p>
592</td>
593<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p173010720280"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p173010720280"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p173010720280"></a>No</p>
594</td>
595<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1590812103363"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1590812103363"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1590812103363"><li>Using keywords: If only one keyword is specified, the other value is <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b5234102011540"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b5234102011540"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b5234102011540"></a>center</strong> by default. The two values define the horizontal position and vertical position, respectively.<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1453531734716"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1453531734716"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul1453531734716"><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b0982111273712"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b0982111273712"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b0982111273712"></a>left</strong>: leftmost in the horizontal direction</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b866713583912"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b866713583912"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b866713583912"></a>right</strong>: rightmost in the horizontal direction</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b5886013193716"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b5886013193716"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b5886013193716"></a>top</strong>: top in the vertical direction</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b84197142376"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b84197142376"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b84197142376"></a>bottom</strong>: bottom in the vertical direction</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b14894114103710"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b14894114103710"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b14894114103710"></a>center</strong>: center position</li></ul>
596</li></ul>
597<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul10908121023615"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul10908121023615"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul10908121023615"><li>Using <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b11401615193715"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b11401615193715"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b1341381819379"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1341381819379"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b48671516183714"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b48671516183714"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b48671516183714"></a>50%</strong>.</li><li>Using <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b5492717163712"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b5492717163712"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b164741723183712"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b164741723183712"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b164741723183712"></a>0% 0%</strong> indicates the upper left corner. <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b64022245377"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b64022245377"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b7893424163718"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b7893424163718"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b7893424163718"></a>50%</strong>.</li><li>Using both <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b154811725193718"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b154811725193718"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b154811725193718"></a>&lt;percentage&gt;</strong> and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b34834254377"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b34834254377"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b34834254377"></a>&lt;length&gt;</strong>.</li></ul>
598</td>
599</tr>
600<tr id="en-us_topic_0000001059308532_row1697134924117"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p134581712103910"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p134581712103910"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p134581712103910"></a>opacity</p>
601</td>
602<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a45185999ae584676af4c36467c2ade8b"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a45185999ae584676af4c36467c2ade8b"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a45185999ae584676af4c36467c2ade8b"></a>number</p>
603</td>
604<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a09ff20dda8e44794bca18c84f413d972"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a09ff20dda8e44794bca18c84f413d972"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a09ff20dda8e44794bca18c84f413d972"></a>1</p>
605</td>
606<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1873011722814"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1873011722814"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1873011722814"></a>No</p>
607</td>
608<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p122515161139"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p122515161139"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p122515161139"></a>Transparency of an element. The value ranges from <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1871715526385"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1871715526385"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1871715526385"></a>0</strong> to <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b177181452103815"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b177181452103815"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b177181452103815"></a>1</strong>. The value <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13718155210380"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13718155210380"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13718155210380"></a>1</strong> means opaque, and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b6718152103818"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b6718152103818"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b6718152103818"></a>0</strong> means completely transparent.</p>
609</td>
610</tr>
611<tr id="en-us_topic_0000001059308532_row19972174913414"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aa2ed1da39c8e4ad78829712734226ab9"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aa2ed1da39c8e4ad78829712734226ab9"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aa2ed1da39c8e4ad78829712734226ab9"></a>visibility</p>
612</td>
613<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p15475737486"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p15475737486"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p15475737486"></a>string</p>
614<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aabfb0eb044194745af56c313f40e7781"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aabfb0eb044194745af56c313f40e7781"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aabfb0eb044194745af56c313f40e7781"></a></p>
615</td>
616<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_acaca80d4ef9a4f0d87adf92cb2d1ff9a"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_acaca80d4ef9a4f0d87adf92cb2d1ff9a"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_acaca80d4ef9a4f0d87adf92cb2d1ff9a"></a>visible</p>
617</td>
618<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p57301471281"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p57301471281"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p57301471281"></a>No</p>
619</td>
620<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1568839154517"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1568839154517"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1568839154517"></a>Whether to display an element. Invisible borders occupy layout space. (To remove the borders, set the <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b15844103015378"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b15844103015378"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b15844103015378"></a>display</strong> attribute to <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b4845153013712"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b4845153013712"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b4845153013712"></a>none</strong>.) Available values are as follows:</p>
621<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul751984164920"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul751984164920"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul751984164920"><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17429331133711"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17429331133711"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17429331133711"></a>visible</strong>: The element is visible.</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b109191231193710"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b109191231193710"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b109191231193710"></a>hidden</strong>: The element is hidden but still takes up space.</li></ul>
622<div class="note" id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note4549524649"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note4549524649"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note4549524649"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p25499241642"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p25499241642"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p25499241642"></a>If both <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b719810016405"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b719810016405"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b719810016405"></a>visibility</strong> and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b187052264018"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b187052264018"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b187052264018"></a>display</strong> are set, only <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b107788924011"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b107788924011"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b107788924011"></a>display</strong> takes effect.</p>
623</div></div>
624</td>
625</tr>
626<tr id="en-us_topic_0000001059308532_row297224934113"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ad74a6a48aca7439e9344c18c26b4177e"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ad74a6a48aca7439e9344c18c26b4177e"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ad74a6a48aca7439e9344c18c26b4177e"></a>flex</p>
627</td>
628<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2e6e5192a1534872be5fcfd9f83e3fdc"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2e6e5192a1534872be5fcfd9f83e3fdc"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2e6e5192a1534872be5fcfd9f83e3fdc"></a>-</p>
629</td>
630<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8512eda38e25410685be8a8992890257"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8512eda38e25410685be8a8992890257"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a8512eda38e25410685be8a8992890257"></a>-</p>
631</td>
632<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1373057132812"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1373057132812"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1373057132812"></a>No</p>
633</td>
634<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a11c317cdfa7d4066878d86c6b3bcbd82"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a11c317cdfa7d4066878d86c6b3bcbd82"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a11c317cdfa7d4066878d86c6b3bcbd82"></a>How to divide available space of the parent component for a child component.</p>
635<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6968144051814"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6968144051814"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6968144051814"></a>You can set one, two<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup894453017315"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup894453017315"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup894453017315"></a>5+</sup>, or three<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1255142393114"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1255142393114"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup1255142393114"></a>5+</sup> values for this style.</p>
636<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16733313171911"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16733313171911"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16733313171911"></a>Set one value in either of the following ways:</p>
637<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul93371539192211"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul93371539192211"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul93371539192211"><li>A unitless number to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b152581117781"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b152581117781"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b152581117781"></a>flex-grow</strong>.</li><li>A valid width value<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup133014373318"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup133014373318"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup133014373318"></a>5+</sup> to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b182101331199"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b182101331199"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b182101331199"></a>flex-basis</strong>.</li></ul>
638<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6786171632018"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6786171632018"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6786171632018"></a>Set two values<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup39514502313"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup39514502313"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup39514502313"></a>5+</sup> in the following ways:</p>
639<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6400429122011"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6400429122011"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p6400429122011"></a>The first value must be a unitless number used to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b171516283129"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b171516283129"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b171516283129"></a>flex-grow</strong>. The second value must be either of the following:</p>
640<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul767043502219"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul767043502219"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul767043502219"><li>A unitless number to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1428375141313"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1428375141313"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1428375141313"></a>flex-shrink</strong>.</li><li>A valid width value to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1632495651416"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1632495651416"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1632495651416"></a>flex-basis</strong>.</li></ul>
641<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p748416351217"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p748416351217"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p748416351217"></a>Set three values<sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup168671312151514"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup168671312151514"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup168671312151514"></a>5+</sup> in the following ways:</p>
642<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p7373204832111"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p7373204832111"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p7373204832111"></a>The first value must be a unitless number used to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b19419131221612"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b19419131221612"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b19419131221612"></a>flex-grow</strong>. The second value must be a unitless number used to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b19378733181612"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b19378733181612"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b19378733181612"></a>flex-shrink</strong>. The third value must be a valid width value used to set <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b47717118176"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b47717118176"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b47717118176"></a>flex-basis</strong>.</p>
643<div class="note" id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note34891253201520"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note34891253201520"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note34891253201520"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1248915538152"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1248915538152"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1248915538152"></a>This style takes effect only when the container is any of the following components: <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17156153131"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17156153131"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b17156153131"></a>&lt;div&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1201415151311"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1201415151311"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1201415151311"></a>&lt;list-item&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b72031515132"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b72031515132"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b72031515132"></a>&lt;refresh&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1920131551310"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1920131551310"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1920131551310"></a>&lt;stepper-item&gt;</strong><sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup17201815121317"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup17201815121317"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup17201815121317"></a>5+</sup>, and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b2211915121313"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b2211915121313"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b2211915121313"></a>&lt;tabs&gt;</strong>.</p>
644</div></div>
645</td>
646</tr>
647<tr id="en-us_topic_0000001059308532_row997316499416"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5d88cacaaf5c4f6a87390ab916b695c6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5d88cacaaf5c4f6a87390ab916b695c6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a5d88cacaaf5c4f6a87390ab916b695c6"></a>flex-grow</p>
648</td>
649<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2c379e3af283446da446f1631e572efd"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2c379e3af283446da446f1631e572efd"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2c379e3af283446da446f1631e572efd"></a>number</p>
650</td>
651<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aa374f6c7415a4ee48a06930d76c55be7"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aa374f6c7415a4ee48a06930d76c55be7"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_aa374f6c7415a4ee48a06930d76c55be7"></a>0</p>
652</td>
653<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p16973164916418"><a name="en-us_topic_0000001059308532_p16973164916418"></a><a name="en-us_topic_0000001059308532_p16973164916418"></a>No</p>
654</td>
655<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p4437122419557"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p4437122419557"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b1682343583716"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1682343583716"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1682343583716"></a>0</strong> indicates that the child component does not grow.</p>
656<div class="note" id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note201231734212"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note201231734212"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note201231734212"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p184555314553"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p184555314553"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p184555314553"></a>This style takes effect only when the container is any of the following components: <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b18575165615499"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b18575165615499"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b18575165615499"></a>&lt;div&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b8575165618495"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b8575165618495"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b8575165618495"></a>&lt;list-item&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b125751756164917"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b125751756164917"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b125751756164917"></a>&lt;refresh&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b15751456104920"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b15751456104920"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b15751456104920"></a>&lt;stepper-item&gt;</strong><sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup257595611492"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup257595611492"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup257595611492"></a>5+</sup>, and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b55761856114912"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b55761856114912"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b55761856114912"></a>&lt;tabs&gt;</strong>.</p>
657</div></div>
658</td>
659</tr>
660<tr id="en-us_topic_0000001059308532_row097318499414"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac65ef7e2b1f24a13b09c495f643168c9"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac65ef7e2b1f24a13b09c495f643168c9"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ac65ef7e2b1f24a13b09c495f643168c9"></a>flex-shrink</p>
661</td>
662<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a98e7d367f0e649699892ae5bad6ade37"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a98e7d367f0e649699892ae5bad6ade37"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a98e7d367f0e649699892ae5bad6ade37"></a>number</p>
663</td>
664<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a422d978368814d12a33201cb839060ee"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a422d978368814d12a33201cb839060ee"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a422d978368814d12a33201cb839060ee"></a>1</p>
665</td>
666<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p179731749154118"><a name="en-us_topic_0000001059308532_p179731749154118"></a><a name="en-us_topic_0000001059308532_p179731749154118"></a>No</p>
667</td>
668<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab032342dfe56460ca742800de482ca0f"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab032342dfe56460ca742800de482ca0f"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab032342dfe56460ca742800de482ca0f"></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_0000001059308532_en-us_topic_0000001059340528_b783242395"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b783242395"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b783242395"></a>0</strong> indicates that the child component does not shrink.</p>
669<div class="note" id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note147160917217"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note147160917217"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note147160917217"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p844914328577"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p844914328577"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p844914328577"></a>This style takes effect only when the container is any of the following components: <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1168212543127"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1168212543127"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1168212543127"></a>&lt;div&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b76821454121211"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b76821454121211"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b76821454121211"></a>&lt;list-item&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1168255411126"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1168255411126"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1168255411126"></a>&lt;refresh&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b10682155415120"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b10682155415120"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b10682155415120"></a>&lt;stepper-item&gt;</strong><sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup10683145491215"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup10683145491215"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup10683145491215"></a>5+</sup>, and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1868385461211"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1868385461211"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1868385461211"></a>&lt;tabs&gt;</strong>.</p>
670</div></div>
671</td>
672</tr>
673<tr id="en-us_topic_0000001059308532_row1197412495417"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82c323a994634032963169eeee1a55e4"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82c323a994634032963169eeee1a55e4"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a82c323a994634032963169eeee1a55e4"></a>flex-basis</p>
674</td>
675<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1148910787"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1148910787"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1148910787"></a>&lt;length&gt;</p>
676<p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a43613cf0c2184c0d8b44e8d292f6edb7"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a43613cf0c2184c0d8b44e8d292f6edb7"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a43613cf0c2184c0d8b44e8d292f6edb7"></a></p>
677</td>
678<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab9e1c7dc25f840e58993af05c1d32109"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab9e1c7dc25f840e58993af05c1d32109"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ab9e1c7dc25f840e58993af05c1d32109"></a>-</p>
679</td>
680<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_p39741049194111"><a name="en-us_topic_0000001059308532_p39741049194111"></a><a name="en-us_topic_0000001059308532_p39741049194111"></a>No</p>
681</td>
682<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0993ef9b0ef64785a76e6310dd834f09"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0993ef9b0ef64785a76e6310dd834f09"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a0993ef9b0ef64785a76e6310dd834f09"></a>Initial length of the flex item on the main axis.</p>
683<div class="note" id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note62848141222"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note62848141222"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note62848141222"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16711745115718"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16711745115718"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p16711745115718"></a>This style takes effect only when the container is any of the following components: <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b18795155631219"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b18795155631219"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b18795155631219"></a>&lt;div&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b107951056121217"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b107951056121217"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b107951056121217"></a>&lt;list-item&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b2795105619128"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b2795105619128"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b2795105619128"></a>&lt;refresh&gt;</strong>, <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1579510564126"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1579510564126"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1579510564126"></a>&lt;stepper-item&gt;</strong><sup id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup187953565122"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup187953565122"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_sup187953565122"></a>5+</sup>, and <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b11796456201211"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b11796456201211"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b11796456201211"></a>&lt;tabs&gt;</strong>.</p>
684</div></div>
685</td>
686</tr>
687<tr id="en-us_topic_0000001059308532_row89741249174114"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a50180d720a374549ae72c848e53320cb"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a50180d720a374549ae72c848e53320cb"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a50180d720a374549ae72c848e53320cb"></a>position</p>
688</td>
689<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a63672ed9a4c040f7a6ec9c8089b79bb6"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a63672ed9a4c040f7a6ec9c8089b79bb6"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a63672ed9a4c040f7a6ec9c8089b79bb6"></a>string</p>
690</td>
691<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2666820c71eb420485e4d20e55b4eabe"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2666820c71eb420485e4d20e55b4eabe"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a2666820c71eb420485e4d20e55b4eabe"></a>relative</p>
692</td>
693<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1173107172814"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1173107172814"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1173107172814"></a>No</p>
694</td>
695<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae28abf4e47a740efbd45a8f280577912"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae28abf4e47a740efbd45a8f280577912"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ae28abf4e47a740efbd45a8f280577912"></a>Positioning type of an element. Dynamic changes are not supported.</p>
696<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul17185232185014"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul17185232185014"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul17185232185014"><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1894911155394"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1894911155394"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1894911155394"></a>fixed</strong>: The element is positioned related to the browser window.</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b823115152390"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b823115152390"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b823115152390"></a>absolute</strong>: The element is positioned absolutely to its parent element.</li><li><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b736151417395"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b736151417395"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b736151417395"></a>relative</strong>: The element is positioned relative to its normal position.</li></ul>
697<div class="note" id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note167617191219"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note167617191219"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_note167617191219"></a><span class="notetitle"> NOTE: </span><div class="notebody"><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1839092815101"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1839092815101"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1839092815101"></a>The <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13941713133910"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13941713133910"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b13941713133910"></a>absolute</strong> attribute takes effect only when the parent component is <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1099913173916"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1099913173916"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b1099913173916"></a>&lt;div&gt;</strong> or <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b181001413123919"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b181001413123919"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b181001413123919"></a>&lt;stack&gt;</strong>.</p>
698</div></div>
699</td>
700</tr>
701<tr id="en-us_topic_0000001059308532_row129751849124115"><td class="cellrowborder" valign="top" width="23.11768823117688%" headers="mcps1.1.6.1.1 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a70405cb9696b4329ac7625af93310018"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a70405cb9696b4329ac7625af93310018"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a70405cb9696b4329ac7625af93310018"></a>[left|top<span id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph14927143614712"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph14927143614712"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph14927143614712"></a>|right|bottom</span>]</p>
702</td>
703<td class="cellrowborder" valign="top" width="20.477952204779523%" headers="mcps1.1.6.1.2 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1849062221214"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1849062221214"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p1849062221214"></a>&lt;length&gt;</p>
704</td>
705<td class="cellrowborder" valign="top" width="8.869113088691131%" headers="mcps1.1.6.1.3 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a579ac7c03d1d46758ebaacd565d86ed3"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a579ac7c03d1d46758ebaacd565d86ed3"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a579ac7c03d1d46758ebaacd565d86ed3"></a>-</p>
706</td>
707<td class="cellrowborder" valign="top" width="7.519248075192481%" headers="mcps1.1.6.1.4 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p187314719288"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p187314719288"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_p187314719288"></a>No</p>
708</td>
709<td class="cellrowborder" valign="top" width="40.01599840015999%" headers="mcps1.1.6.1.5 "><p id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9a662a62cd9b40eaa0cb9ca082b6d1c2"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9a662a62cd9b40eaa0cb9ca082b6d1c2"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_a9a662a62cd9b40eaa0cb9ca082b6d1c2"></a><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b481348173914"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b481348173914"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b481348173914"></a>left|top</strong><span id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph4818118173914"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph4818118173914"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ph4818118173914"></a><strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b68143833912"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b68143833912"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b68143833912"></a>|right|bottom</strong></span> must be used together with <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b881916818394"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b881916818394"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b881916818394"></a>position</strong> to determine the offset position of an element.</p>
710<a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul12671003525"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul12671003525"></a><ul id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_ul12671003525"><li>The <strong id="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b885117712398"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b885117712398"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b65591759395"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b65591759395"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b179013323910"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b179013323910"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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_0000001059308532_en-us_topic_0000001059340528_b77091602397"><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_b77091602397"></a><a name="en-us_topic_0000001059308532_en-us_topic_0000001059340528_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>
711</td>
712</tr>
713</tbody>
714</table>
715
716## Example Code<a name="en-us_topic_0000001059308532_section1241545010391"></a>
717
7181.  Flex style
719
720    ```
721    <!-- xxx.hml -->
722    <div class="container">
723      <div class="flex-box">
724        <div class="flex-item color-primary"></div>
725        <div class="flex-item color-warning"></div>
726        <div class="flex-item color-success"></div>
727      </div>
728    </div>
729    ```
730
731    ```
732    /* xxx.css */
733    .container {
734      flex-direction: column;
735      justify-content: center;
736      align-items: center;
737      width: 454px;
738      height: 454px;
739    }
740    .flex-box {
741      justify-content: space-around;
742      align-items: center;
743      width: 400px;
744      height: 140px;
745      background-color: #ffffff;
746    }
747    .flex-item {
748      width: 120px;
749      height: 120px;
750      border-radius: 16px;
751    }
752    .color-primary {
753      background-color: #007dff;
754    }
755    .color-warning {
756      background-color: #ff7500;
757    }
758    .color-success {
759      background-color: #41ba41;
760    }
761    ```
762
763    ![](figures/en-us_image_0000001061550803.png)
764
7652.  Flex wrap style
766
767    ```
768    <!-- xxx.hml -->
769    <div class="container">
770      <div class="flex-box">
771        <div class="flex-item color-primary"></div>
772        <div class="flex-item color-warning"></div>
773        <div class="flex-item color-success"></div>
774      </div>
775    </div>
776    ```
777
778    ```
779    /* xxx.css */
780    .container {
781      flex-direction: column;
782      justify-content: center;
783      align-items: center;
784      width: 454px;
785      height: 454px;
786    }
787    .flex-box {
788      justify-content: space-around;
789      align-items: center;
790      flex-wrap: wrap;
791      width: 300px;
792      height: 250px;
793      background-color: #ffffff;
794    }
795    .flex-item {
796      width: 120px;
797      height: 120px;
798      border-radius: 16px;
799    }
800    .color-primary {
801      background-color: #007dff;
802    }
803    .color-warning {
804      background-color: #ff7500;
805    }
806    .color-success {
807      background-color: #41ba41;
808    }
809    ```
810
811    ![](figures/en-us_image_0000001061872693.png)
812
8133.  Grid style
814
815    ```
816    <!-- xxx.hml -->
817    <div class="common grid-parent">
818      <div class="grid-child grid-left-top"></div>
819      <div class="grid-child grid-left-bottom"></div>
820      <div class="grid-child grid-right-top"></div>
821      <div class="grid-child grid-right-bottom"></div>
822    </div>
823    ```
824
825    ```
826    /* xxx.css */
827    .common {
828      width: 400px;
829      height: 400px;
830      background-color: #ffffff;
831      align-items: center;
832      justify-content: center;
833      margin: 24px;
834    }
835    .grid-parent {
836      display: grid;
837      grid-template-columns: 50% 50%;
838      grid-columns-gap: 24px;
839      grid-rows-gap: 24px;
840      grid-template-rows: 50% 50%;
841    }
842    .grid-child {
843      width: 100%;
844      height: 100%;
845      border-radius: 8px;
846    }
847    .grid-left-top {
848      grid-row-start: 0;
849      grid-column-start: 0;
850      grid-row-end: 0;
851      grid-column-end: 0;
852      background-color: #3f56ea;
853    }
854    .grid-left-bottom {
855      grid-row-start: 1;
856      grid-column-start: 0;
857      grid-row-end: 1;
858      grid-column-end: 0;
859      background-color: #00aaee;
860    }
861    .grid-right-top {
862      grid-row-start: 0;
863      grid-column-start: 1;
864      grid-row-end: 0;
865      grid-column-end: 1;
866      background-color: #00bfc9;
867    }
868    .grid-right-bottom {
869      grid-row-start: 1;
870      grid-column-start: 1;
871      grid-row-end: 1;
872      grid-column-end: 1;
873      background-color: #47cc47;
874    }
875    ```
876
877    ![](figures/en-us_image_0000001058988992.png)
878
879
880