3 ms·
One of the things I like about SVG is that it's the same everywhere. You can look at our site on any major browser and it's exactly the same down to the pixel.
by AndrewSwift 4y ago
One of the things I like about SVG is that it's the same everywhere. You can look at our site on any major browser and it's exactly the same down to the pixel.
Sure there are some rough edges — this is a proof of concept.
Long term, I would like to create an editing program that combines the best of SVG and HTML, because there are obviously many places where HTML offers a lot more.
That will be a huge project that will require funding, so right now I'm seeing how far I can push SVG by itself.
- xtian 4y agoFor the common use-cases, SVGs do render consistently across browsers, but there are differences in feature support and rendering behavior outside of those. refX/refY is one example of this. These attributes were added to the SVG spec in 2015 and didn’t have support in all major browsers until a few weeks ago.
- danielheath 4y agoUntil you start using responsive design in your SVGs, since it supports CSS with media queries :)
- AndrewSwift 4y agoOur plan is not to do responsive design — Svija is really meant for designers, and for any content that requires real design, there will need to be separate versions for mobile and desktop anyway. Part of what's fun about Svija is that you can design content very rapidly, since the page is an exact reflection of the Illustrator file. I suspect that introducing responsive aspects would break that experience. However, we will be producing a page editor at some point in the future and when that day arrives we'll be looking into how best to handle these issues. Right now, with Illustrator as an editor, it's just not possible. Svija works by sending the smallest configured page (the mobile version) for the first request then checking the browser. If it's a bigger window, then the page is reloaded and only the correct version is sent for any future requests. I want to be clear that I am not saying that all sites should be built this way — Svija is an experiment to see if this makes sense.