There is a code .sass, without braces {}
.header display:flex justify-content:space-between .nav display:flex flex-direction:column align-items:center justify-content: space-between How to make nesting without using {} so that it works?
For nesting use the ampersand &
For SCSS:
.header { display:flex justify-content:space-between & .nav { display:flex flex-direction:column align-items:center justify-content: space-between } } For SASS:
.header display: flex justify-content:space-between & .nav display:flex flex-direction:column align-items:center justify-content: space-between Source: https://ru.stackoverflow.com/questions/741182/
All Articles