1
0
mirror of https://github.com/coreui/coreui-icons.git synced 2025-08-30 11:39:59 +02:00

feat: add flag icons

This commit is contained in:
mrholek
2019-11-10 15:48:24 +01:00
parent 5cd192c303
commit 6af9b02abd
4 changed files with 282 additions and 0 deletions

16
scss/flag/_core.scss Normal file
View File

@@ -0,0 +1,16 @@
[class^="#{$prefix}"], [class*=" #{$prefix}"] {
background-size: contain;
background-position: 50%;
background-repeat: no-repeat;
position: relative;
display: inline-block;
width: 1.33333333em;
line-height: 1em;
}
@each $icon, $unicode in $icons {
$icon-lower: to-lower-case(#{$icon});
.#{$prefix}#{$icon-lower} {
background-image: url(../svg/flag/#{$icon}.svg);
}
}