-
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Description
.display-block .show .hide
.showapplies the same style as.display-block.hideappliesdisplay: none;, but there's no.display-noneutility class
- I think it's kind of confusing to have 2 utility classes for the same style
- I think there should be a
.display-noneutility class for a few reasons:- More consistent with the rest of the display utility classes.
- We may want to toggle between hiding/showing an element with
display: noneand a display style other thandisplay: block, for example switching betweendisplay: none;anddisplay: inline-block
.hidden .visible .hidden-* .visible-*
.hiddenappliesvisibility: hidden;and.visibleapplies.visibility: visible;.hidden-*appliesdisplay: none;and.visible-*appliesdisplay: block;
- I think these class names are confusing. From the classnames, I would've thought
.hidden-*(e.g..hidden-print) would apply the same style as.hidden, which isvisibility: hidden;.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels