4 ms·
One thing i'd like to see is an entire site built with SVG and JS without any HTML at all. It's possible but i haven't seen anyone do it yet.
by perilunar 2y ago
One thing i'd like to see is an entire site built with SVG and JS without any HTML at all. It's possible but i haven't seen anyone do it yet.
- eMPee584 2y agoso how can you know it's actually possible?
- perilunar 2y agoBrowsers will render SVG files. SVG files can link to other SVG files. Just need to configure the server to serve SVG by default — most servers don't but it's an easy config change.
- perilunar 2y agoActually just found one, via an old stack overflow post. Only a three page test, but proves the point: https://svg.nicubunu.ro https://svg.nicubunu.ro
- pcthrowaway 2y agoNo javascript here though
- efreak 2y agoI've used SVG in the past to work around limitations in css alignment (cloth before and after new layouts made it unnecessary--I don't write CSS enough to remember how they work, but adding text to a quick drawing in inkscape is fairly trivial)