All icons found in https://www.gosquared.com/resources/flag-icons/ Sprite generated by http://ru.spritegen.website-performance.org/
<?= Flags::widget([
'flag' => 'UA',
'type' => Flags::FLAT_24,
'useSprite' => false // use sprite image? default is false
]); ?>
this code generate html
<style>
.flag-UA{background-image: url("/assets/bae1ba2a/flat/24/UA.png");display: inline-block;width:24px;height:24px;}
</style>
....
<span id="w4" class="flags flag-UA"></span>
....
No stable releases.
Comments