Package: css-mode
Description: A Cascading Style Sheets (CSS) editing mode for Emacs
This is a simple Emacs mode for editing CSS style sheets. It adds
font-locking and some basic auto-indentation support to Emacs. It
works with Emacs 19.34, but should also work with both older and
newer versions as well as XEmacs.
.
While CSS has a C-like syntax, this mode does a better job than
cc-mode of handling the features of the CSS language. It supports
both CSS Level 1 and Level 2.
Homepage: http://www.garshol.priv.no/download/software/css-mode/
关于我所知道的最好的是
css-mode
:所有“编程”文本编辑器(gedit、scite、jEdit ……)都支持语法高亮和代码折叠等功能。在 Ubuntu 存储库中具有特定 CSS/HTML 功能(例如颜色选择器)的更高级的编辑器:
蓝鱼是我的推荐。
带有片段的geany可能会有所帮助,但它不是特定于 css 的,但通常是一个非常轻量级的文本编辑器。