File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 18
18
19
19
20
20
class SassMiddleware (object ):
21
- """WSGI middleware for development purpose. Everytime a CSS file has
21
+ r """WSGI middleware for development purpose. Everytime a CSS file has
22
22
requested it finds a matched SASS/SCSS source file and then compiled
23
23
it into CSS.
24
24
@@ -30,23 +30,21 @@ class SassMiddleware(object):
30
30
31
31
.. code-block:: css
32
32
33
- /*
34
- Error: invalid property name
35
- */
33
+ /*
34
+ Error: invalid property name
35
+ */
36
36
37
37
Red text in ``body:before``
38
38
The result CSS draws detailed error message in ``:before``
39
- pseudo-class of ``body`` element e.g.::
39
+ pseudo-class of ``body`` element e.g.:
40
40
41
41
.. code-block:: css
42
42
43
- /*
44
- body:before {
45
- content: 'Error: invalid property name';
46
- color: maroon;
47
- background-color: white;
48
- }
49
- */
43
+ body:before {
44
+ content: 'Error: invalid property name';
45
+ color: maroon;
46
+ background-color: white;
47
+ }
50
48
51
49
In most cases you could be aware of syntax error by refreshing your
52
50
working document because it will removes all other styles and leaves
You can’t perform that action at this time.
0 commit comments