Today I Learned - Rocky Kev

Tagged “svg”

  1. TIL executing a xss using a SVG image

    This user was able to upload a '.svg', that then executed a xss attack to steal local storage data.

  2. TIL Icon Fonts being the suckfest that they are

    In 99% of all use-cases, SVGs are better.

  3. TIL a sweet SVG clip-path generator

    The clip-path CSS property creates a clipping region that sets what part of an element should be shown. Parts that are inside the region are shown, while those outside are hidden.

  4. TIL how to create adaptive SVGs

    SVG markup is XML using an .svg file type extension which allows it to hold more dynamic types of code. SVG is able to scale up and down without quality loss, and can potentially be very small in size, they can also have embedded CSS, even embedded media queries.

  5. TIL Copy/Paste SVG Icons

    And by inlining the SVG, you make one less call, and it loads faster. heroicons.dev is awesome

See all tags.