Reputation: 970
I want to write the below code for a scss like [class*="col-"] this one. i know how to write it in css but m using scss now.
My css code is here
@media only screen and (min-width : 768px) {
.is-table-row {
display: table;
}
.is-table-row [class*="col-"] {
float: none;
display: table-cell;
vertical-align: top;
}
}
Upvotes: 0
Views: 166
Reputation: 6158
Try this:
@media only screen and (min-width : 768px) {
.is-table-row {
display: table;
[class*="col-"] {
float: none;
display: table-cell;
vertical-align: top;
}
}
It has a some output as your css.
Upvotes: 1