@charset "utf-8";

@use "./icon-ini.scss" as *;
@use "./ie11" as *;

@mixin arrow($width, $bold, $color, $deg) {
  @include icon-ini;

  border-color: $color;
  border-style: solid;
  border-width: 0 #{$bold}px #{$bold}px 0;
  height: #{$width}px;
  vertical-align: middle;
  width: #{$width}px;
  //角度
  @if ($deg == "left") {
    transform: rotate(135deg);
  }

  @else if ($deg == "top") {
    transform: rotate(225deg);
  } @else if ($deg == "right") {
    transform: rotate(-45deg);
  } @else if ($deg == "bottom") {
    transform: rotate(45deg);
  }

  @include ie11() {
    margin-bottom: 1px !important;
  }
}
