
@mixin cx-svg(
   $name: 'svg',
   $besm: $cx-besm
) {
   $block: map-get($besm, block);
   $element: map-get($besm, element);
   $state: map-get($besm, state);
   $mod: map-get($besm, mod);

   .#{$block}#{$name} {
      box-sizing: border-box;
      overflow: hidden;
      position: relative;
      height: 150px; //default height

      & > svg {
         width: 100%;
         height: 100%;
         position: absolute;
      }
   }
}

@if (cx-should-include('cx/svg/Svg')) {
   @include cx-svg;
}