Debian Codegraph @

tests/snippets/css/percent_in_func.txt

raw
1 ---input---
2 .target-img {
3 position: absolute;
4 top: 25%;
5 left: 50%;
6 transform: translate(-50%, -50%);
7 }
8
9 ---tokens---
10 '.' Punctuation
11 'target-img' Name.Class
12 ' ' Text.Whitespace
13 '{' Punctuation
14 '\n ' Text.Whitespace
15 'position' Keyword
16 ':' Punctuation
17 ' ' Text.Whitespace
18 'absolute' Keyword.Constant
19 ';' Punctuation
20 ' \n ' Text.Whitespace
21 'top' Keyword
22 ':' Punctuation
23 ' ' Text.Whitespace
24 '25' Literal.Number.Integer
25 '%' Keyword.Type
26 ';' Punctuation
27 ' \n ' Text.Whitespace
28 'left' Keyword
29 ':' Punctuation
30 ' ' Text.Whitespace
31 '50' Literal.Number.Integer
32 '%' Keyword.Type
33 ';' Punctuation
34 ' \n ' Text.Whitespace
35 'transform' Keyword
36 ':' Punctuation
37 ' ' Text.Whitespace
38 'translate' Name.Builtin
39 '(' Punctuation
40 '-50' Literal.Number.Integer
41 '%' Keyword.Type
42 ',' Punctuation
43 ' ' Text.Whitespace
44 '-50' Literal.Number.Integer
45 '%' Keyword.Type
46 ')' Punctuation
47 ';' Punctuation
48 '\n' Text.Whitespace
49
50 '}' Punctuation
51 ' \n' Text.Whitespace