text/css
*.css;*.CSSL
/*
*/
[a-z0-9_-]
(?:
\\ # backslash
(?:
[^\n\r\f0-9a-f] | # not newline or hex digit; or
[0-9a-f]{1,6} \s? # 1-6 hex digits, trailing whitespace (not necessary in some cases)
)
)
[\x{80}-\x{10ffff}]
(?:
[a-z_] |
\%{non-ascii} |
\%{escape}
)
(?>
(?:
[a-z0-9_-]+ |
\%{non-ascii}+ |
\%{escape}+
)+
)
(?:
[a-z0-9_-] |
\%{non-ascii}
)
(?:
(?:
-- |
-? \%{identifier-start-char}
)
\%{identifier-chars}?
)
(?:
(?:
[_-] \%{identifier-start-char}+ |
mso |
prince
)
-
)
(?:
(?<! \%{single-identifier-char} )
\%{vendor-specific-prefix} \%{identifier-chars}
)
(?=[!;}])
(?=\))
/
,
:
;
\%{identifier}
\%{vendor-specific-identifier}
\%{escape}
"
"
'
'
#([a-f0-9]{8}|[a-f0-9]{6}|[a-f0-9]{4}|[a-f0-9]{3})\%]
aliceblue
antiquewhite
aquamarine
azure
beige
bisque
blanchedalmond
blueviolet
brown
burlywood
cadetblue
chartreuse
chocolate
coral
cornflowerblue
cornsilk
crimson
cyan
darkblue
darkcyan
darkgoldenrod
darkgray
darkgreen
darkgrey
darkkhaki
darkmagenta
darkolivegreen
darkorange
darkorchid
darkred
darksalmon
darkseagreen
darkslateblue
darkslategray
darkslategrey
darkturquoise
darkviolet
deeppink
deepskyblue
dimgray
dimgrey
dodgerblue
firebrick
floralwhite
forestgreen
gainsboro
ghostwhite
goldenrod
gold
greenyellow
grey
honeydew
hotpink
indianred
indigo
ivory
khaki
lavenderblush
lavender
lawngreen
lemonchiffon
lightblue
lightcoral
lightcyan
lightgoldenrodyellow
lightgray
lightgreen
lightgrey
lightpink
lightsalmon
lightseagreen
lightskyblue
lightslategray
lightslategrey
lightsteelblue
lightyellow
limegreen
linen
magenta
mediumaquamarine
mediumblue
mediumorchid
mediumpurple
mediumseagreen
mediumslateblue
mediumspringgreen
mediumturquoise
mediumvioletred
midnightblue
mintcream
mistyrose
moccasin
navajowhite
oldlace
olivedrab
orangered
orchid
palegoldenrod
palegreen
paleturquoise
palevioletred
papayawhip
peachpuff
peru
pink
plum
powderblue
rebeccapurple
rosybrown
royalblue
saddlebrown
salmon
sandybrown
seagreen
seashell
sienna
skyblue
slateblue
slategray
slategrey
snow
springgreen
steelblue
tan
thistle
tomato
turquoise
violet
wheat
whitesmoke
yellowgreen
aqua
black
blue
fuchsia
gray
green
lime
maroon
navy
olive
orange
purple
red
silver
teal
white
yellow
(?: (?> \d* \. \d+ | \d+ ) (?: e [+-]? \d+ )? )
(?: [+-]? \%{number-magnitude} )
(?: \+? \%{number-magnitude} )
(?> \d+ )
(?: [+-]? \%{integer-magnitude} )
(?: \+? \%{integer-magnitude} )
(?:
\%{single-identifier-char} |
\.
)
(?<!\%{non-number-char})\%{number}
ch
cm
deg
em
ex
fr
ft
grad
hz
in
khz
mm
ms
pc
pt
px
rad
rem
s
turn
vh
vmax
vmin
vw
(?<! \%{non-number-char} )
\%{number}%
(?<!\%{non-number-char})\%{positive-number}
dpcm
dpi
dppx
(?<! \%{non-number-char} )
\%{positive-integer} \s* / \s* \%{positive-integer}
(?! \%{non-number-char} )
(?<! \%{non-number-char} )
\%{number}
(?! \%{non-number-char} )
(?<! \%{non-number-char} )
\%{positive-integer}
(?! \%{non-number-char} )
\%[ u \+ (?> [a-f0-9?]{1,6} ) (?> - [a-f0-9]{1,6} )?
(?! \%{single-identifier-char} )
at
auto-fill
auto-fit
auto
bottom
center
circle
closest-corner
closest-side
ellipse
end
farthest-corner
farthest-side
left
max-content
min-content
right
start
top
to
url\(
\)
\%{vendor-specific-identifier}\(
\)
\%{identifier}\(
\)
clip-path
clip-rule
color-interpolatation-filters
color-interpolatation
dominant-baseline
fill-rule
fill-opacity
fill
flood-color
flood-opacity
lighting-color
marker-end
marker-mid
marker-start
shape-rendering
stop-color
stop-opacity
stroke-dasharray
stroke-dashoffset
stroke-linecap
stroke-linejoin
stroke-miterlimit
stroke-opacity
stroke-width
stroke
text-anchor
text-rendering
align-content
align-items
align-self
animation-delay
animation-direction
animation-duration
animation-fill-mode
animation-iteration-count
animation-name
animation-play-state
animation-timing-function
animation
appearance
backface-visibility
background-blend-mode
background-clip
background-origin
background-size
bleed
border-image-outset
border-image-repeat
border-image-slice
border-image-source
border-image-width
border-image
box-decoration-break
box-sizing
break-after
break-before
break-inside
column-count
column-fill
column-gap
column-rule-color
column-rule-style
column-rule-width
column-rule
column-span
column-width
columns
filter
flex-basis
flex-direction
flex-flow
flex-grow
flex-shrink
flex-wrap
flex
font-feature-settings
font-kerning
font-language-override
font-stretch
font-synthesis
font-variant-alternates
font-variant-caps
font-variant-east-asian
font-variant-ligatures
font-variant-numeric
font-variant-position
grid-area
grid-gap
grid-auto-columns
grid-auto-flow
grid-auto-rows
grid-column-end
grid-column-gap
grid-column-start
grid-column
grid-row-end
grid-row-gap
grid-row-start
grid-row
grid-template-areas
grid-template-columns
grid-template-rows
grid-template
grid
hanging-punctuation
hyphens
image-orientation
image-rendering
image-resolution
ime-mode
isolation
justify-content
justify-self
line-break
mask-type
mask
mix-blend-mode
nav-down
nav-index
nav-left
nav-right
nav-up
object-fit
object-position
opacity
order
outline-offset
overflow-wrap
overflow-x
overflow-y
perspective-origin
perspective
pointer-events
resize
src
tab-size
text-align-last
text-combine-upright
text-decoration-color
text-decoration-line
text-decoration-style
text-justify
text-orientation
text-overflow
text-underline-position
transform-origin
transform-style
transform
transition-delay
transition-duration
transition-property
transition-timing-function
transition
unicode-range
will-change
word-break
word-wrap
writing-mode
azimuth
background-attachment
background-color
background-image
background-position
background-repeat
background
border-bottom-color
border-bottom-left-radius
border-bottom-right-radius
border-bottom-style
border-bottom-width
border-bottom
border-collapse
border-color
border-left-color
border-left-style
border-left-width
border-left
border-radius
border-right-color
border-right-style
border-right-width
border-right
border-spacing
border-style
border-top-color
border-top-left-radius
border-top-right-radius
border-top-style
border-top-width
border-top
border-width
border
bottom
box-shadow
caption-side
clear
clip
color
content
counter-increment
counter-reset
cue-after
cue-before
cue
cursor
direction
display
elevation
empty-cells
float
font-family
font-size-adjust
font-size
font-style
font-variant
font-weight
font
height
left
letter-spacing
line-height
list-style-image
list-style-position
list-style-type
list-style
margin-bottom
margin-left
margin-right
margin-top
margin
marker-offset
marks
max-height
max-width
min-height
min-width
orphans
outline-color
outline-style
outline-width
outline
overflow
padding-bottom
padding-left
padding-right
padding-top
padding
page-break-after
page-break-before
page-break-inside
page
pause-after
pause-before
pause
pitch-range
pitch
play-during
position
quotes
richness
right
size
speak-header
speak-numeral
speak-punctuation
speak
speech-rate
stress
table-layout
text-align
text-decoration
text-indent
text-shadow
text-transform
top
unicode-bidi
vertical-align
visibility
voice-family
volume
white-space
widows
width
word-spacing
z-index
background-color
background-position
background-size
background
border-bottom-color
border-bottom-left-radius
border-bottom-right-radius
border-bottom-width
border-bottom
border-color
border-left-color
border-left-width
border-left
border-radius
border-right-color
border-right-width
border-right
border-top-color
border-top-left-radius
border-top-right-radius
border-top-width
border-top
border-width
border
bottom
box-shadow
clip-path
clip
color
column-count
column-gap
column-rule-color
column-rule-width
column-rule
column-width
columns
filter
flex-basis
flex-grow
flex-shrink
flex
font-size-adjust
font-size
font-stretch
font-weight
font
grid-column-gap
grid-gap
grid-row-gap
height
left
letter-spacing
line-height
margin-bottom
margin-left
margin-right
margin-top
margin
mask
max-height
max-width
min-height
min-width
object-position
opacity
order
outline-color
outline-offset
outline-width
outline
padding-bottom
padding-left
padding-right
padding-top
padding
perspective-origin
perspective
right
tab-size
text-decoration-color
text-decoration
text-indent
text-shadow
top
transform-origin
transform
vertical-align
visibility
width
word-spacing
z-index
alphabetic
bevel
butt
central
crispedges
evenodd
geometricprecision
hanging
ideographic
lr-tb
lr
mathematical
miter
no-change
nonzero
optimizelegibility
optimizespeed
painted
reset-size
rl-tb
rl
stroke
tb-rl
tb
text-after-edge
text-before-edge
use-script
visiblefill
visiblepainted
visiblestroke
jis04
jis78
jis83
jis90
simplified
traditional
A3
A4
A5
B4
B5
JIS-B4
JIS-B5
ledger
legal
letter
active
add
allow-end
all-petite-caps
all-small-caps
all-scroll
all
alpha
alternate-reverse
alternate
avoid-page
auto-flow
backwards
balance
border-box
break-all
break-word
clip
clone
color-burn
color-dodge
color
column-reverse
column
common-ligatures
contain
content-box
contents
contextual
cover
crisp-edges
currentcolor
darken
dense
diagonal-fractions
difference
disabled
discretionary-ligatures
distribute
ease-in-out
ease-in
ease-out
ease
ellipsis
end
exclude
exclusion
fill-box
fill
first
flat
flex-end
flex-start
flex
flip
force-end
forwards
from-image
full-width
grid
hard-light
historical-forms
historical-ligatures
horizontal-tb
horizontal
hue
inactive
infinite
initial
inline-flex
inline-grid
inter-cluster
inter-ideograph
inter-word
intersect
isolate
kashida
keep-all
last
left-side
left
lighten
linear
lining-nums
local
loose
luminance
luminosity
manual
mixed
multiply
no-clip
no-common-ligatures
no-contextual
no-discretionary-ligatures
no-historical-ligatures
oldstyle-nums
ordinal
overlay
padding-box
page
paused
petite-caps
pixelated
preserve-3d
proportional-nums
proportional-width
reverse
round
row-reverse
row
ruby
running
saturation
scale-down
screen
scroll-position
sideways-left
sideways-right
sideways
slashed-zero
slice
soft-light
space-around
space-between
space-evenly
space
stacked-fractions
start
step-end
step-start
stretch
strict
stroke-box
style
stylistic
subtract
tabular-nums
titling-caps
trim
under
unicase
unset
upright
use-glyph-orientation
vertical-lr
vertical-rl
vertical
view-box
wavy
weight
wrap-reverse
wrap
above
absolute
alias
all-scroll
always
armenian
auto
avoid
baseline
behind
below
bidi-override
blink
block
bolder
bold
both
bottom
capitalize
caption
cell
center-left
center-right
center
circle
cjk-ideographic
close-quote
code
collapse
col-resize
compact
condensed
continuous
context-menu
copy
crop
crosshair
cross
cue-after
cue-before
cursive
dashed
decimal
decimal-leading-zero
default
digits
disc
dotted
double
embed
e-resize
ew-resize
expanded
extra-condensed
extra-expanded
fantasy
far-left
far-right
faster
fast
fixed
flow-root
georgian
grabbing
grab
groove
hebrew
help
hidden
hide
higher
high
hiragana-iroha
hiragana
icon
inherit
inline-block
inline-table
inline
inset
inside
invert
italic
justify
katakana-iroha
katakana
landscape
large
larger
left-side
leftwards
level
lighter
line-through
list-item
loud
lower-alpha
lowercase
lower-greek
lower-latin
lower-roman
lower
low
ltr
marker
medium
menu
message-box
middle
mix
monospace
move
narrower
ne-resize
nesw-resize
no-close-quote
no-drop
no-open-quote
no-repeat
none
normal
not-allowed
nowrap
ns-resize
nw-resize
nwse-resize
n-resize
oblique
once
open-quote
outset
outside
overline
pointer
portrait
pre-line
pre-wrap
pre
progress
relative
repeat-x
repeat-y
repeat
ridge
right-side
right
rightwards
row-resize
rtl
run-in
sans-serif
scroll
semi-condensed
semi-expanded
separate
se-resize
serif
show
silent
slower
slow
small-caps
smaller
small-caption
small
soft
solid
spell-out
square
se-resize
sw-resize
s-resize
static
status-bar
sub
super
sw-resize
table-caption
table-cell
table-column-group
table-column
table-footer-group
table-header-group
table-row-group
table-row
table
text-bottom
text
text-top
thick
thin
top
transparent
ultra-condensed
ultra-expanded
underline
upper-alpha
uppercase
upper-latin
upper-roman
vertical-text
visible
wait
wider
w-resize
x-fast
x-high
x-large
x-loud
x-low
x-slow
x-small
x-soft
xx-large
xx-small
zoom-in
zoom-out
important
!
\%{declaration-value-end}
:
\%{declaration-value-end}
{
}
and
not
only
all
print
screen
speech
any-hover
any-pointer
aspect-ratio
color-gamut
color-index
color
display-mode
grid
height
hover
max-aspect-ratio
max-color-index
max-color
max-height
max-monochrome
max-resolution
max-width
min-aspect-ratio
min-color-index
min-color
min-height
min-monochrome
min-resolution
min-width
monochrome
orientation
overflow-block
overflow-inline
pointer
resolution
scan
update
width
browser
coarse
fast
fine
fullscreen
hover
interlace
landscape
minimal-ui
none
optional-paged
p3
paged
portrait
progressive
rec2020
scroll
slow
srgb
standalone
:
\%{test-value-end}
\(
\)
{
}
{
}
(?=;)
;
@\%{vendor-specific-identifier}
^@charset(?= "[^"]*";)
@charset\%]
@font-face\%]
@
annotation
character-variant
ornaments
styleset
stylistic
swash
:
\%{declaration-value-end}
{
}
{
}
@font-feature-values\%]
@import\%]
from
to
{
}
@\%{vendor-specific-prefix}keyframes\%]
@keyframes\%]
@media\%]
@namespace\%]
:
blank
first
left
right
@
bottom-center
bottom-left-corner
bottom-left
bottom-right-corner
bottom-right
left-bottom
left-middle
left-top
right-bottom
right-middle
right-top
top-center
top-left-corner
top-left
top-right-corner
top-right
{
}
@page\%]
and
not
or
(?:
\%{test-value-end} |
(?= ! )
)
:
\%{at-supports-declaration-value-end}
!
\%{at-supports-declaration-value-end}
\(
\)
@supports\%]
(\%{identifier}|\*)?(\|)
#\%{identifier}
\.\%{identifier}
\%{identifier}
\*
(?<=\[)\s*(\%{identifier})
[~|^$*]?=
\[
]
[>+~]
::\%{vendor-specific-identifier}
::?
after
before
first-letter
first-line
::
placeholder
selection
:\%{vendor-specific-identifier}
:
active
checked
default
disabled
empty
enabled
first-child
first-of-type
focus
hover
in-range
indeterminate
invalid
lang
last-child
last-of-type
link
not
nth-child
nth-last-child
nth-last-of-type
nth-of-type
only-child
only-of-type
optional
out-of-range
read-only
read-write
required
root
target
valid
visited
(?<=:lang)\(
\)
:not\(
\)
(?<=:not)\(
\)
even
odd
(
\%{integer}? n ( \s* [+-] \s* \%{integer-magnitude} )? |
\%{integer}
)
(?<=
:nth-child |
:nth-last-child |
:nth-of-type |
:nth-last-of-type
)
\(
\)