Ionic2: cannot set background color <ion-content> in .scss variables
in html:
<ion-content class="bg-style"> in .scss variables:
.bg-style { background-color: #f5f0eb; } the codes above do not work, but can work in other tags, such as <a> <div> , etc., and when I put the style file (.scss, for example test.scss) in the same path as the file html, it may also work well. I do not know if my question is clear, thanks for the help.
+5
3 answers