LESS mode

  -webkit-appearance: none; // Inner-padding issues in Chrome OSX, Safari 5
 
1
@media screen and (device-aspect-ratio: 16/9) { … }
2
@media screen and (device-aspect-ratio: 1280/720) { … }
3
@media screen and (device-aspect-ratio: 2560/1440) { … }
4
5
html:lang(fr-be)
6
7
tr:nth-child(2n+1) /* represents every odd row of an HTML table */
8
9
img:nth-of-type(2n+1) { float: right; }
10
img:nth-of-type(2n) { float: left; }
11
12
body > h2:not(:first-of-type):not(:last-of-type)
13
14
html|*:not(:link):not(:visited)
15
*|*:not(:hover)
16
p::first-line { text-transform: uppercase }
17
18
@namespace foo url(http://www.example.com);
19
foo|h1 { color: blue }  /* first rule */
20
21
span[hello="Ocean"][goodbye="Land"]
22
23
E[foo]{
24
  padding:65px;
25
}
26
27
input[type="search"]::-webkit-search-decoration,
28
input[type="search"]::-webkit-search-cancel-button {

The LESS mode is a sub-mode of the CSS mode (defined in css.js.

Parsing/Highlighting Tests: normal, verbose.