Jump to content

Recommended Posts

Posted

Hi,
I found an interesting solution for creating an icon library with affinity designer.

The icons can be manipulated globally with a CSS file.

The effort is relatively low.

Simply comment in an interest then I will describe the process here in the forum in detail. 

michael

  • 3 weeks later...
Posted

@mimuel My problem is that i needed the SVG's to work in Wordpress with Elementor.
But... since i'm using JetElements i can use plain SVG's and the inline SVG widget which can remove Inline CSS and use custom colors in Elementor for my flat icons.

Your workaround will be appreciated when using traditional HTML/CSS though :)

Thanks for sharing!

Posted

At HTML5 you can call the SVG with this command:

        <object data="my_svg.svg" type="image/svg+xml"></object>

the svg himsef can include a inline-style or a reference to a outline-style CSS-File


 

  • 3 years later...
  • 2 weeks later...
Posted

You can create an SVG icon library that can be manipulated by CSS files using three approaches:

SVG sprites & CSS background-position

SVG sprites & fragment identifiers

CSS masks

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.