This is quite impressive: http://iamralpht.github.io/constraints/
It uses the Cassowary.js library that powers GSS, but adds the ability to interact with elements using touch (mouse movements, velocity, etc.) Duane On Mon, Sep 26, 2016 at 1:12 PM, Berry Groenendijk < [email protected]> wrote: > I was thinking or rather dreaming about this. CSS for font styling, etc. > is just fine. But, CSS for positioning and layout is just way too > complicated. > > So, I was thinking. Elm has this great event handling system and can > efficiently update the DOM. I thought about building a demo of a HTML > layout that is responsive and where the responsiveness is handled by Elm. I > was actually thinking about some kind of constraint language you could use > right inside Elm. GSS or rather the underlying Cassowary library would be a > great candidate. > > It would be great if you could define your layout in a constraint base > layout right from within Elm. Elm being a functional language would be > great for this. This could potentially be the HTML alternative for the > Graphics.layout library. > > As said... I was just dreaming about it. I have neither the time nor the > expertise to build something like this. > > Op maandag 26 september 2016 16:56:44 UTC+2 schreef Duane Johnson: >> >> >> On Mon, Sep 26, 2016 at 2:00 AM, Peter Damoc <[email protected]> wrote: >> >>> For progressive customization you could take a look at SemanticUI's 3 >>> layer structure (Defaults -> Theme -> Site) >>> http://semantic-ui.com/usage/theming.html >>> >>> For constrains based layouts you could take a look at GSS >>> http://gridstylesheets.org/ >>> >>> >> GSS is eye opening. Thanks, Peter. >> > -- > You received this message because you are subscribed to the Google Groups > "Elm Discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
