News for hackers. Stuff that matters.
Re:Learn How to make a Single Element iPhone in CSS3 by DenisM on Saturday September 08, 2012 @01:06PM (#4493348)
Is there a vector-graphics language that similar to CSS in capabilities and expressive power, but with a more approachable syntax?

I think it's very cool when an image is created in essence programmatically, this really speaks to me as a developer, and I certainly appreciate the declarative nature of CSS, but I wish for something that is easier to read, and so easier to maintain over time, including source control with branches/merges etc. An added bonus to such language would be ability to compile it down to CSS, or Objective-C/UIKit, or C#/Windows, or simply render it to static bitmaps...

As someone who doesn't know CSS, I see it similar to the way I see PERL - you can do cool things, but I wouldn't know where to start if I had to change anything, except by trying all things at random.

Re:Learn How to make a Single Element iPhone in CSS3 by duopixel on Saturday September 08, 2012 @02:54PM (#4493646)
SVG sounds pretty much like what you're looking for.

Single element CSS hacks like this are impressive demonstrations of technical knowledge, but it was never meant to be used like this.

Re:Learn How to make a Single Element iPhone in CSS3 by lbotos on Saturday September 08, 2012 @04:31PM (#4493908)
SVG also has "up and coming" full support in most browsers and you can use compatibility wrappers such as http://raphaeljs.com/
Re:Learn How to make a Single Element iPhone in CSS3 by DenisM on Sunday September 09, 2012 @12:36AM (#4494955)
Thanks, this might be it. iOS library:

https://github.com/adamgit/SVGKit/tree/transforms