sass loop

PHOTO EMBED

Wed Dec 16 2020 09:45:39 GMT+0000 (Coordinated Universal Time)

Saved by @abeerIbrahim

$icons: ("eye": "\f112", "start": "\f12e", "stop": "\f12f");

@each $name, $glyph in $icons {
  .icon-#{$name}:before {
    display: inline-block;
    font-family: "Icon Font";
    content: $glyph;
  }
}
content_copyCOPY