Skip to content

v2.6.0

Compare
Choose a tag to compare
@HatScripts HatScripts released this 23 Sep 08:02
· 75 commits to gh-pages since this release

Change border-radius back to mask, across all flags

Fixes #52 and #53.

Before:

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" style="border-radius:50%" viewBox="0 0 512 512">
  ...
</svg>

After:

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
  <mask id="a">
    <circle cx="256" cy="256" r="256" fill="#fff"/>
  </mask>
  <g mask="url(#a)">
    ...
  </g>
</svg>

Full Changelog: v2.5.4...v2.6.0