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:
16
scss/flag/_core.scss
Normal file
16
scss/flag/_core.scss
Normal 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user