oficiodesign / initial-css

MIT License
4 stars 1 forks source link

Inline-break mixin #125

Closed robsonsobral closed 1 year ago

robsonsobral commented 2 years ago

Add:

@mixin inline-break($position: 'before') {
    @if $position != 'before' and $position != 'after' {
        @error 'invalid position submited: #{$position}';
    }

  &::#{$position} {   
    white-space: pre;

    content: '\A';
  }
}