Jump to content
You must now use your email address to sign in [click for more info] ×

Web Developer

Members
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Web Developer reacted to Web Developer in Export to WEB without FILL - make CSS FILL: possible   
    Web designers like to control the .SVG files with CSS, like:
    .class-name {fill:#red; }
     
    Is this being planned?
    I'm buying Affinity Designer on launch of this feature.
  2. Like
    Web Developer reacted to pmdesgn in SVG export for Web (responsive)   
    Just purchased AD and spent some time test-driving it -- feels nice, intuitive UI. Personally, I was very interested in SVG export for web work and I was happy to see it under the supported formats. Having done a quick test, it certainly worked but I had to edit the SVG file afterwords to get it working 'responsively' (sized via CSS, using percentages).
     
    Currently, the SVG is exported with its size determined by the 'width' and 'height' attributes. For example, an object defined as 50x50px object will have width="50" height="50" baked in. By replacing these attributes with viewBox="0 0 50 50", the size can now can be controlled using CSS, e.g., svg { width:100%; }
     
    It's an easy manual fix but it would be great to have the option setting available during export..
  3. Like
    Web Developer reacted to MattP in SVG export for Web (responsive)   
    Hmm, okay - that's interesting - I don't see why we couldn't do this (at least as an option) so a big thank you for mentioning it! :)
     
    Thanks!
    Matt
×
×
  • 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.