# stack
The **** component provides a stack container where child components are successively stacked and the latter one overwrites the previous one.
## Permission List
None
## Child Component
Supported
## Attribute
Attributes in [Universal Attributes](js-components-common-attributes.md) are supported.
## Style
Styles in [Universal Styles](js-components-common-styles.md) are supported.
## Event
Events in [Universal Events](js-components-common-events.md) are supported.
## Method
Methods in [Universal Methods](js-components-common-methods.md) are supported.
## Example Code
```
```
```
/* xxx.css */
.stack-parent {
width: 400px;
height: 400px;
background-color: #ffffff;
border-width: 1px;
border-style: solid;
}
.back-child {
width: 300px;
height: 300px;
background-color: #3f56ea;
}
.front-child {
width: 100px;
height: 100px;
background-color: #00bfc9;
}
.positioned-child {
width: 100px;
height: 100px;
left: 50px;
top: 50px;
background-color: #47cc47;
}
.bd-radius {
border-radius: 16px;
}
```
