@import "~@less/variables.less"; .container{ .tag; } .no-tag{ .no-tag; } .selected{ .selected-tag; &:before{ content: unset; } &:after{ content: unset; } } .blued{ background: @blue; color: #fff; }