Answer the question
In order to leave comments, you need to log in
How to make nested styles in sass through a loop?
It is necessary to set a different level of shadow for the nested menu sub-items in the loop.
You can of course manually, but not hunting.
ul {
li {
padding-left: 10px;
ul {
li {
padding-left: 20px;
}
}
}
}
Answer the question
In order to leave comments, you need to log in
In my opinion, flexbox will help you, look at the lessons on YouTube Or, as mentioned above, bootstrap, foundation and other frameworks with grids.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question