mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 17:59:57 +08:00
fbab5df655
* docs: update Layout demo * chore: code clean * chore: update snapshot
23 lines
472 B
Markdown
23 lines
472 B
Markdown
## zh-CN
|
|
|
|
同样拥有顶部导航及侧边栏,区别是两边未留边距,多用于应用型的网站。
|
|
|
|
## en-US
|
|
|
|
Both the top navigation and the sidebar, commonly used in application site.
|
|
|
|
```css
|
|
#components-layout-demo-top-side-2 .logo {
|
|
float: left;
|
|
width: 120px;
|
|
height: 31px;
|
|
margin: 16px 24px 16px 0;
|
|
background: rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.ant-row-rtl #components-layout-demo-top-side-2 .logo {
|
|
float: right;
|
|
margin: 16px 0 16px 24px;
|
|
}
|
|
```
|