This repository was archived by the owner on Dec 11, 2021. It is now read-only.
File tree 5 files changed +27
-3
lines changed
5 files changed +27
-3
lines changed Original file line number Diff line number Diff line change 8
8
"important": false,
9
9
"outline-none": false,
10
10
"overqualified-elements": false,
11
+ "unique-headings": false,
12
+ "unqualified-attributes": false,
11
13
"text-indent": false
12
14
}
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 11
11
12
12
@import
13
13
" _utilities/clearfix" ,
14
- " _utilities/colors" ;
14
+ " _utilities/colors" ,
15
+ " _utilities/hidden" ;
15
16
16
17
@import
17
18
" atoms/icons/icons" ,
Original file line number Diff line number Diff line change 3
3
// ==========================================================================
4
4
5
5
@import
6
- " _utilities/clearfix" ;
6
+ " _utilities/clearfix" ,
7
+ " _utilities/hidden" ;
7
8
8
9
@import
9
10
" atoms/icons/icons" ,
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- src : [ "dist/css/*.css" ]
2
+ src : [ "dist/css/*.css" ] ,
3
+ options : {
4
+ csslintrc : ".csslintrc"
5
+ }
3
6
} ;
You can’t perform that action at this time.
0 commit comments