News for hackers. Stuff that matters.
Re:Responsive CSS grid, reordered with native HTML5 drag and... by seer on Friday September 04, 2015 @06:20AM (#10169595)
As this was created mainly for a "landing page builder" tool, the assumption was that classes are added dynamically with a scripting language so its not that big of a problem. I did think quite a bit on how to minimize the clutter and I either had to do a colossal CSS file with all the permutations or a smaller css and a bit more text in the html. Sadly I am not aware of a way how make both of them reasonably small (few css rules and few css classes in the html) - if anybody has an Idea I would be very grateful.
Re:Responsive CSS grid, reordered with native HTML5 drag and... by bbx on Friday September 04, 2015 @06:34AM (#10169624)
Yeah that was my thought process: "Wow there's a lot of CSS classes. But the drag'n'drop builder makes this number irrelevant."

I'm actually working on updating a landing page builder today, so the timing is perfect. I don't think you can reduce the number of classes in the HTML but that's fine. Maybe have a Sass mixing to generate the CSS cases.

In the end, the size of both the HTML and CSS are negligible considering everything is auto generated.

Great tool. I love it!