diff --git a/lib/app-plus/view-api.js b/lib/app-plus/view-api.js index a1b0a13c3cc039fc97919793daf342cbdcd9098f..67f1fcb7268cab4160e0ea2b5154d73db84601d5 100644 --- a/lib/app-plus/view-api.js +++ b/lib/app-plus/view-api.js @@ -12,7 +12,7 @@ export { export function canIUse (schema) { if (schema === 'css.var') { - return window.CSS && window.CSS.supports && window.CSS.supports('--a', 0) + return window.CSS && window.CSS.supports && window.CSS.supports('--a:0') } return true -} +}