News for hackers. Stuff that matters.
Re:SVG Triangle of Compromise by tannhaeuser on Monday July 29, 2024 @07:37AM (#41099619)
Actually, for interactivity you don't have to use CSS but can also use SMIL animations to set SVG (or CSS) properties for things like clicking/hovering, timed transitions, and even animation sequences. Never understood the CSS march of progress narrative when CSS just piecemeally incorporares concepts (paint servers, filters, etc) SVG had for 20 years now, and what's so great about having those available in CSS" wild unchecked syntax, especially when you'd need (or prefer) JS anyway. SVG at least can be targetted as a reasonable output format by vector drawing tools.
Re:SVG Triangle of Compromise by mrled on Monday July 29, 2024 @11:29AM (#41101199)
Ohh, interesting, I have never heard of SMIL. For this post I was thinking mostly of static styling (... and got a little carried way with interactive stuff in the diagram...) but I'll have to look into SMIL in the future.
Re:SVG Triangle of Compromise by runarberg on Monday July 29, 2024 @02:56PM (#41102767)
SMIL animations is definitely one of the underrated features of SVG.