Answer the question
In order to leave comments, you need to log in
How does scss logic work in Rails?
Good to everyone!
There is a project implemented on rails and just html layout.
There are style properties (scss) like this:
.elem {
width: 15.9%;
@media screen and (max-width: 1366px) {
width: 49%;
}
}
.elem_mod {
width: 30%;
}
<div class="elem elem_mod"></div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question