Created
December 30, 2015 03:42
Revisions
-
eworkflow created this gist
Dec 30, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,22 @@ import Html exposing (..) import Html.Attributes exposing (..) import Signal exposing (..) import Time exposing (every, second) import Date exposing (..) import String exposing (..) divStyle : List (String, String) divStyle = [ ("font-size", "5em") , ("text-align", "center") ] spanStyle : List (String, String) spanStyle = [ ("color", "red") ] main = Html.div [ Html.Attributes.style divStyle ] [ Html.text ("Hello, "), (Html.span [ Html.Attributes.style spanStyle ] [Html.text "World!"]) ]