Nesting SASS
Move a block inside another block and indent it
Start file
.hero { background-color: pink; } header { border-bottom: 2px solid #26BBB3; }
End file
.hero { background-color: pink; header { border-bottom: 2px solid #26BBB3; } }
View Diff
3d2 < } 5,6c4,6 < header { < border-bottom: 2px solid #26BBB3; --- > header { > border-bottom: 2px solid #26BBB3; > } 7a8 >
Solutions by @anooplive:
Unlock 4 remaining solutions by signing in and submitting your own entry