1
<html xmlns="http://www.w3.org/1999/xhtml">
3
<script src="js/codemirror.js" type="text/javascript"></script>
4
<title>CodeMirror: CSS demonstration</title>
5
<link rel="stylesheet" type="text/css" href="css/docs.css"/>
7
<body style="padding: 20px;">
9
<p>Demonstration of <a href="index.html">CodeMirror</a>'s CSS
13
<textarea id="code" cols="120" rows="30">
14
/* Some example CSS */
16
@import url("something.css");
21
font-family: tahoma, arial, sans-serif;
27
text-decoration: none !important;
38
h1:before, h2:before {
43
font-family: courier, monospace;
50
<script type="text/javascript">
51
var editor = CodeMirror.fromTextArea('code', {
53
parserfile: "parsecss.js",
54
stylesheet: "css/csscolors.css",