diff --git a/src/stylesheets/abstracts/_mixins.scss b/src/stylesheets/abstracts/_mixins.scss index 2082ce4..29b0429 100644 --- a/src/stylesheets/abstracts/_mixins.scss +++ b/src/stylesheets/abstracts/_mixins.scss @@ -29,3 +29,19 @@ + 'Please make sure it is defined in `$breakpoints` map.'; } } + +@mixin hide-column($colNum) { + th, td { + &:nth-child(#{$colNum}) { + display: none; + } + } +} + +@mixin show-column($colNum) { + th, td { + &:nth-child(#{$colNum}) { + display: table-cell; + } + } +}