This repository was archived by the owner on Dec 11, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +27
-3
lines changed Expand file tree Collapse file tree 5 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 88 "important": false,
99 "outline-none": false,
1010 "overqualified-elements": false,
11+ "unique-headings": false,
12+ "unqualified-attributes": false,
1113 "text-indent": false
1214}
Original file line number Diff line number Diff line change 1+ /*
2+ * ==========================================================================
3+ * Hidden attribute
4+ *
5+ * Make the [hidden] global HTML attribute much more useful.
6+ * It's intended to be used to hide elements, but since it's not `!important`
7+ * by default, it's normally trumped by mere CSS classes that were only meant
8+ * to set a default `display` value. Making it `!important` (which is fine
9+ * because this is a utility attribute) corrects this shortcoming.
10+ * https://html.spec.whatwg.org/multipage/interaction.html#the-hidden-attribute
11+ * https://html.spec.whatwg.org/multipage/rendering.html#hiddenCSS
12+ * ==========================================================================
13+ */
14+
15+ [hidden ] {
16+ display : none !important ;
17+ }
Original file line number Diff line number Diff line change 1111
1212@import
1313 " _utilities/clearfix" ,
14- " _utilities/colors" ;
14+ " _utilities/colors" ,
15+ " _utilities/hidden" ;
1516
1617@import
1718 " atoms/icons/icons" ,
Original file line number Diff line number Diff line change 33// ==========================================================================
44
55@import
6- " _utilities/clearfix" ;
6+ " _utilities/clearfix" ,
7+ " _utilities/hidden" ;
78
89@import
910 " atoms/icons/icons" ,
Original file line number Diff line number Diff line change 11module . exports = {
2- src : [ "dist/css/*.css" ]
2+ src : [ "dist/css/*.css" ] ,
3+ options : {
4+ csslintrc : ".csslintrc"
5+ }
36} ;
You can’t perform that action at this time.
0 commit comments