Does Aptana 3 recognize CSS3?

为君一笑 提交于 2019-12-11 03:45:45

问题


While learning CSS3 I realized that Aptana Studio 3 doesn´t recognize CSS3 source. I have updated the latest features for the IDE but it is still trying to use CSS2. I get this error for CSS3 background statement:

background: rgba(255, 255, 255, 0.1);

ValueError: background (http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background) Too many values or values are not recognized.

Do I have to install a particular plugin for Aptana??

Edited

Jul 26th 2011, the bug is still there after automatic update.


回答1:


The problem is that the CSS validator that's included (which comes from the W3C) is not very good about CSS 3. There are plans to replace that, but in the mean time, the easiest thing to do is to either filter the particular warning, or to disable it altogether.

To do so, go to Preferences > Studio > Validation and choose CSS. There you can disable the validation, or add a filter of something like ".Too many values or values are not recognized."

More information: http://wiki.appcelerator.org/display/tis/Adding+custom+error+message+filters+to+the+Problems+View




回答2:


Aptana correctly recognises CSS statements after updating it to the latest version.
Ensure you have the latest version.



来源:https://stackoverflow.com/questions/6716933/does-aptana-3-recognize-css3

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!