Please, do you have any suggestions what is wrong in Sass source code?
I want to change table width dynamically. But error has occurred:
Error: Invalid CSS after ".divTable-100%": expected placeholder name, was " " on line 18 of...
Thank you !
$tableWidth: () !default;
$tableWidth: map-merge(
(
"large": 100%,
"medium": 75%,
"small": 50%,
"extraSmall": 25%
),
$tableWidth
);
@mixin tableStyles {
margin-top: 25px;
display: table;
color: $tableColor;
border: $clBtnBorder;
}
@each $size, $size in $tableWidth {
.divTable-#{$size} {
width: $size !important;
@include tableStyles;
}
}