css - Twitter Bootstrap Extend not working -
I am running a rail app and have installed the Twitter-Bootstrap-Rail Mani (v2.2.8). I am trying to use the detailed method, but the problems are coming:
home / index.html.erb: /app/assets/stylesheets/bootstrap_and_overrides.css: I expect as "Test 1", but Test 2 does not inherit .text-error formatting. Your file name must be
& Lt; P class = "text-error" & gt; Test 1 & lt; / P & gt; & Lt; p class = "test" & gt; Test 2 & lt; / P & gt;
/ * = twitter-bootstrap-static / bootstrap key Use Font Awesome icons (default) to change the use of glyphicans sprites instead of the awesome font, replace with "twitter-bootstrap-static / sprites requirement" replace = twitter-bootstrap-static / fontoff / body { padding-top: 60px; } #error_explanation {color: # f00; UL {List style: None; Margin: 0 18px 0; }} .test {@extend .text-error; }
bootstrap_and_overrides.css.scss and no
bootstrap_and_overrides.css . Now, when our Sass compiled, gets the
.test selector
.test, .text-error
Comments
Post a Comment