CodeMirror: LESS mode

@media screen and (device-aspect-ratio: 16/9) {  }
1
@media screen and (device-aspect-ratio: 16/9) {  }
2
@media screen and (device-aspect-ratio: 32/18) {  }
3
@media screen and (device-aspect-ratio: 1280/720) {  }
4
@media screen and (device-aspect-ratio: 2560/1440) {  }
5
 
6
html:lang(fr-be)
7
html:lang(de)
8
:lang(fr-be) > q
9
:lang(de) > q
10
 
11
tr:nth-child(2n+1) /* represents every odd row of an HTML table */
12
tr:nth-child(odd)  /* same */
13
tr:nth-child(2n+0) /* represents every even row of an HTML table */
14
tr:nth-child(even) /* same */
15
 
16
/* Alternate paragraph colours in CSS */
17
p:nth-child(4n+1) { color: navy; }
18
p:nth-child(4n+2) { color: green; }
19
p:nth-child(4n+3) { color: maroon; }
20
p:nth-child(4n+4) { color: purple; }
21
 
22
:nth-child(10n-1)  /* represents the 9th, 19th, 29th, etc, element */
23
:nth-child(10n+9)  /* Same */
24
:nth-child(10n+-1) /* Syntactically invalid, and would be ignored */
25
 
26
:nth-child( 3n + 1 )
27
:nth-child( +3n - 2 )
28
:nth-child( -n+ 6)
29
:nth-child( +6 )
30
 
31
html|tr:nth-child(-n+6)  /* represents the 6 first rows of XHTML tables */
32
 
33
img:nth-of-type(2n+1) { float: right; }
34
img:nth-of-type(2n) { float: left; }
35
 
36
body > h2:nth-of-type(n+2):nth-last-of-type(n+2)
37
body > h2:not(:first-of-type):not(:last-of-type)
38
 
 

MIME types defined: text/x-less, text/css (if not previously defined).