mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
docs(slidebox): add comment about why we use !important
This commit is contained in:
@@ -23,6 +23,8 @@ ion-slide {
|
||||
@include translate3d(0,0,0);
|
||||
|
||||
&:not([slide-display]) {
|
||||
// This !important flag is here because it lets the end-developer specify display styles
|
||||
// for slides as specifically as he wants, but still not show the slides that should be hidden.
|
||||
display: none !important;
|
||||
}
|
||||
&[slide-display="previous"] {
|
||||
|
||||
Reference in New Issue
Block a user