mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
fbab5df655
* docs: update Layout demo * chore: code clean * chore: update snapshot
572 B
572 B
zh-CN
要使用自定义触发器,可以设置 trigger={null}
来隐藏默认设定。
en-US
If you want to use a customized trigger, you can hide the default one by setting trigger={null}
.
#components-layout-demo-custom-trigger .trigger {
padding: 0 24px;
font-size: 18px;
line-height: 64px;
cursor: pointer;
transition: color 0.3s;
}
#components-layout-demo-custom-trigger .trigger:hover {
color: #1890ff;
}
#components-layout-demo-custom-trigger .logo {
height: 32px;
margin: 16px;
background: rgba(255, 255, 255, 0.3);
}