1 # media-feature-colon-space-before
3 Require a single space or disallow whitespace before the colon in media features.
6 @media (max-width :600px) {}
8 * The space before this colon */
13 `string`: `"always"|"never"`
17 There *must always* be a single space before the colon.
19 The following patterns are considered violations:
22 @media (max-width:600px) {}
26 @media (max-width: 600px) {}
29 The following patterns are *not* considered violations:
32 @media (max-width :600px) {}
36 @media (max-width : 600px) {}
41 There *must never* be whitespace before the colon.
43 The following patterns are considered violations:
46 @media (max-width :600px) {}
50 @media (max-width : 600px) {}
53 The following patterns are *not* considered violations:
56 @media (max-width:600px) {}
60 @media (max-width: 600px) {}