2016-12-30 21:41:28 +08:00
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
典型的页面布局。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Classic page layouts.
|
|
|
|
|
|
|
|
<style>
|
|
|
|
#components-layout-demo-basic .code-box-demo {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
#components-layout-demo-basic .ant-layout-header,
|
|
|
|
#components-layout-demo-basic .ant-layout-footer {
|
|
|
|
color: #fff;
|
2020-10-26 12:17:07 +08:00
|
|
|
background: #7dbcea;
|
2016-12-30 21:41:28 +08:00
|
|
|
}
|
|
|
|
#components-layout-demo-basic .ant-layout-footer {
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
#components-layout-demo-basic .ant-layout-sider {
|
|
|
|
color: #fff;
|
|
|
|
line-height: 120px;
|
2020-10-26 12:17:07 +08:00
|
|
|
background: #3ba0e9;
|
2016-12-30 21:41:28 +08:00
|
|
|
}
|
|
|
|
#components-layout-demo-basic .ant-layout-content {
|
|
|
|
min-height: 120px;
|
2020-10-26 12:17:07 +08:00
|
|
|
color: #fff;
|
2016-12-30 21:41:28 +08:00
|
|
|
line-height: 120px;
|
2020-10-26 12:17:07 +08:00
|
|
|
background: rgba(16, 142, 233, 1);
|
2016-12-30 21:41:28 +08:00
|
|
|
}
|
2020-07-15 20:40:14 +08:00
|
|
|
#components-layout-demo-basic > .code-box-demo > .ant-layout + .ant-layout {
|
|
|
|
margin-top: 48px;
|
2016-12-30 21:41:28 +08:00
|
|
|
}
|
|
|
|
</style>
|