3 <title>CodeMirror: CSS mode
</title>
4 <meta charset=
"utf-8"/>
5 <link rel=stylesheet
href=
"../../doc/docs.css">
7 <link rel=
"stylesheet" href=
"../../lib/codemirror.css">
8 <script src=
"../../lib/codemirror.js"></script>
9 <script src=
"css.js"></script>
10 <style>.CodeMirror {background: #f8f8f8;}
</style>
12 <a href=
"http://codemirror.net"><img id=logo
src=
"../../doc/logo.png"></a>
15 <li><a href=
"../../index.html">Home
</a>
16 <li><a href=
"../../doc/manual.html">Manual
</a>
17 <li><a href=
"https://github.com/marijnh/codemirror">Code
</a>
20 <li><a href=
"../index.html">Language modes
</a>
21 <li><a class=active
href=
"#">CSS
</a>
27 <form><textarea id=
"code" name=
"code">
28 /* Some example CSS */
30 @import url(
"something.css");
35 font-family: tahoma, arial, sans-serif;
41 text-decoration: none !important;
52 h1:before, h2:before {
57 font-family: courier, monospace;
63 var editor = CodeMirror.fromTextArea(document.getElementById(
"code"), {});
66 <p><strong>MIME types defined:
</strong> <code>text/css
</code>,
<code>text/x-scss
</code> (
<a href=
"scss.html">demo
</a>),
<code>text/x-less
</code> (
<a href=
"less.html">demo
</a>).
</p>
68 <p><strong>Parsing/Highlighting Tests:
</strong> <a href=
"../../test/index.html#css_*">normal
</a>,
<a href=
"../../test/index.html#verbose,css_*">verbose
</a>.
</p>