ora 8 9
This commit is contained in:
16
ora9/sudoku/diagonal-sudoku.scss
Normal file
16
ora9/sudoku/diagonal-sudoku.scss
Normal file
@@ -0,0 +1,16 @@
|
||||
@use "sudoku";
|
||||
|
||||
%diagonal{
|
||||
background-color: gold;
|
||||
}
|
||||
|
||||
table.sudoku{
|
||||
@for $i from 1 through 9{
|
||||
tr:nth-child(#{$i}) > td:nth-child(#{$i}){
|
||||
@extend %diagonal;
|
||||
}
|
||||
tr:nth-child(#{$i}) > td:nth-child(#{10 - $i}){
|
||||
@extend %diagonal;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user