Netbeans将CSS变量显示为错误 [英] Netbeans show css variables as error
本文介绍了Netbeans将CSS变量显示为错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用CSS变量时,我的Netbeans IDE向我显示错误. 例如,以下代码行将返回错误:
My Netbeans IDE show me error when I'm using css variables. For example, this lines of code will return an error:
:root {
--main-bg-color: #dad66f;
}
.title {
color: var(--main-bg-color);
}
我在网上找到了此解决方案: https://bugzilla-attachments-262769.netbeans.org/bugzilla/attachment.cgi?id = 160370 但是我不知道如何安装此补丁. 任何人都知道我如何停止将此代码显示为错误?
I found this solution online: https://bugzilla-attachments-262769.netbeans.org/bugzilla/attachment.cgi?id=160370 But I don't know how to install this patch. Anyone have idea how I can stop showing this code as an error?
谢谢:)
推荐答案
我刚刚检查了一下,在当前最新的Nerbeans IDE版本(11.3)中,CSS变量可以正常工作.
I've just checked and in the current latest Nerbeans IDE version(11.3) CSS variables are working fine.
这篇关于Netbeans将CSS变量显示为错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文