mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
style(docs): add transition in details (#21272)
This commit is contained in:
@@ -253,6 +253,15 @@ form {
|
||||
}
|
||||
|
||||
details {
|
||||
interpolate-size: allow-keywords;
|
||||
|
||||
&::details-content {
|
||||
content-visibility: auto;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
transition: height ease 0.3s;
|
||||
}
|
||||
|
||||
summary {
|
||||
margin: 16px 0;
|
||||
font-size: 18px;
|
||||
@@ -261,6 +270,10 @@ details {
|
||||
}
|
||||
}
|
||||
|
||||
details[open]::details-content {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#nprogress .bar {
|
||||
background: var(--brand-color) !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user