mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 19:39:51 +08:00
380cae80bc
Co-authored-by: afc163 <afc163@gmail.com>
32 lines
583 B
Markdown
32 lines
583 B
Markdown
## zh-CN
|
|
|
|
可以自定义工具栏并添加下载原图或翻转旋转后图片的按钮。
|
|
|
|
## en-US
|
|
|
|
You can customize the toolbar and add a button for downloading the original image or downloading the flipped and rotated image.
|
|
|
|
```css
|
|
.toolbar-wrapper {
|
|
padding: 0px 24px;
|
|
color: #fff;
|
|
font-size: 20px;
|
|
background-color: rgba(0, 0, 0, 0.1);
|
|
border-radius: 100px;
|
|
}
|
|
|
|
.toolbar-wrapper .anticon {
|
|
padding: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.toolbar-wrapper .anticon[disabled] {
|
|
cursor: not-allowed;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.toolbar-wrapper .anticon:hover {
|
|
opacity: 0.3;
|
|
}
|
|
```
|