summaryrefslogtreecommitdiff
path: root/tests/snippets/css/percent_in_func.txt
blob: 9fce9bde63d9aee8bf1fbeb37afed31dfe0fc020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
---input---
.target-img {
  position: absolute; 
  top: 25%; 
  left: 50%; 
  transform: translate(-50%, -50%);
}     

---tokens---
'.'           Punctuation
'target-img'  Name.Class
' '           Text.Whitespace
'{'           Punctuation
'\n  '        Text.Whitespace
'position'    Keyword
':'           Punctuation
' '           Text.Whitespace
'absolute'    Keyword.Constant
';'           Punctuation
' \n  '       Text.Whitespace
'top'         Keyword
':'           Punctuation
' '           Text.Whitespace
'25'          Literal.Number.Integer
'%'           Keyword.Type
';'           Punctuation
' \n  '       Text.Whitespace
'left'        Keyword
':'           Punctuation
' '           Text.Whitespace
'50'          Literal.Number.Integer
'%'           Keyword.Type
';'           Punctuation
' \n  '       Text.Whitespace
'transform'   Keyword
':'           Punctuation
' '           Text.Whitespace
'translate'   Name.Builtin
'('           Punctuation
'-50'         Literal.Number.Integer
'%'           Keyword.Type
','           Punctuation
' '           Text.Whitespace
'-50'         Literal.Number.Integer
'%'           Keyword.Type
')'           Punctuation
';'           Punctuation
'\n'          Text.Whitespace

'}'           Punctuation
'     \n'     Text.Whitespace