annotate examples/css.ur @ 29:93140c5cc972

Clean up dependencies and examples; add Style module
author Adam Chlipala <adam@chlipala.net>
date Sat, 12 May 2012 10:03:44 -0400
parents
children c1f06342c81f
rev   line source
adam@29 1 fun main () : transaction page = return <xml><body>
adam@29 2 <div style={Style.prop1 "font-weight" "bold"}>Bold</div>
adam@29 3 <div style={Style.prop "background" (Style.valu (bless "http://adam.chlipala.net/web.png") :: Style.valu "no-repeat" :: [])}>Image</div>
adam@29 4 <div style={Style.props (("font-weight", Style.valu "bold" :: [])
adam@29 5 :: ("background", Style.valu (bless "http://adam.chlipala.net/web.png") :: Style.valu "no-repeat" :: [])
adam@29 6 :: [])}>Both</div>
adam@29 7 </body></xml>