Created
December 30, 2015 03:42
-
-
Save eworkflow/f8e41fbcbe330e3418e9 to your computer and use it in GitHub Desktop.
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 characters
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!"]) ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment