While using CSS function in (),the ) ended prematurely by the function.

Whatever it is var(), calc() or other functions. Am I setting it wrong? 
While using CSS function in (),the ) ended prematurely by the function.

Whatever it is var(), calc() or other functions. Am I setting it wrong? 
There was a bug/omission in the CSS syntax definition which has been fixed in more recent builds of ST (3142, for example)
I just updated. But

and
OopsâŚJust one image allowedâŚThere are Two in my right-click context menu, one is âOpen with Sublime Textâ, another one is âOpen with Sublime Text 3â.
Iâve tried the examples in the two issues. And they works well.

But my code (119th, yellow)⌠still breaks highlighting.It seems that itâs just a workaround, for some known case which will be used. Maybe the core code still has this problem.
Another puzzling thing, see the blue line, âopacityâ in animation-name is highlighting because itâs a CSS property.By default, animation-name is gray as â-inâ. Maybe ST want me notice itâs a CSS property. But itâs strange, right?
If you can create an issue at https://github.com/sublimehq/Packages/issues with your code copy-pasted into a fenced code block, then this can get fixed.