News for hackers. Stuff that matters.
Re:CSS Written in Pure Go by thih9 on Sunday June 02, 2024 @03:24AM (#40552115)
Sample syntax:

    table_ (tr_ (td_ (p_ "Hello, World!")))
More complex:

    table_ [rows_ "2"]
           (tr_ (do td_ [class_ "top",colspan_ "2",style_ "color:red"]
                        (p_ "Hello, attributes!")
                    td_ "yay!"))

Source: https://hackage.haskell.org/package/lucid

There are no comments on this comment yet.