sp-codes.de/src/scss/icons/flags.scss
Samuel Philipp 22274eed29
All checks were successful
continuous-integration/drone/push Build is passing
updated icons to custom font (icomoon)
2021-06-14 12:10:57 +02:00

25 lines
432 B
SCSS

// flag-icon-css
$flag-icon-path: "" !default;
[class^="fi-"], [class*=" fi-"] {
position: relative;
display: inline-block;
width: 1.33333em;
line-height: 1em;
background-size: contain;
background-position: 50%;
background-repeat: no-repeat;
&::before {
content: '\00a0';
}
}
.fi-us {
background-image: url('#{$flag-icon-path}/us.svg');
}
.fi-de {
background-image: url('#{$flag-icon-path}/de.svg');
}