--- order: 1 title: zh-CN: 顶部导航 + 侧边栏 en-US: Top aside --- ## zh-CN 顶级导航在头部,次级导航在侧边栏。 ## en-US The top navigation is placed on the top, and the secondary navigation is placed on the aside. ````jsx import { Menu, Breadcrumb, Icon } from 'antd'; import BrowserDemo from 'site/theme/template/BrowserDemo'; const SubMenu = Menu.SubMenu; ReactDOM.render(
Navigation 1 Navigation 2 Navigation 3
Second nav Second nav Second nav
Home App list Any app
Contents
Ant Design all rights reserved © 2015 Created by Ant UED
, mountNode); ```` ````css .layout-topaside { height: 100%; } .layout-topaside .layout-wrapper { padding: 0 50px; } .layout-topaside .layout-header { background: #404040; height: 64px; } .layout-topaside .layout-logo { width: 120px; height: 32px; background: #333; border-radius: 4px; margin: 16px 24px 16px 0; float: left; } .layout-topaside .layout-subheader { height: 48px; border-bottom: 1px solid #e9e9e9; background: #fff; margin-bottom: 12px; } .layout-topaside .layout-container { background: #fff; margin: 12px 0 0; position: relative; padding: 24px 0; overflow: hidden; border-radius: 4px; } .layout-topaside .layout-sider { width: 224px; float: left; } .layout-topaside .layout-content { border-left: 1px solid #e9e9e9; padding: 0 24px; overflow: auto; position: relative; left: -1px; } .layout-topaside .layout-footer { height: 64px; line-height: 64px; text-align: center; font-size: 12px; color: #999; } ````