mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-12-02 08:04:12 +03:00
32 lines
868 B
Elm
32 lines
868 B
Elm
module Main exposing (main)
|
|
|
|
import Element
|
|
import Element.Background
|
|
|
|
|
|
main =
|
|
Element.layout []
|
|
(Element.el
|
|
[ Element.inFront
|
|
(Element.el
|
|
[ Element.width (Element.px 70)
|
|
, Element.height (Element.px 70)
|
|
, Element.Background.color (Element.rgb 0 0 0)
|
|
]
|
|
Element.none
|
|
)
|
|
]
|
|
(Element.el
|
|
[ Element.inFront
|
|
(Element.el
|
|
[ Element.width (Element.px 50)
|
|
, Element.height (Element.px 50)
|
|
, Element.Background.color (Element.rgb 1 0 0)
|
|
]
|
|
Element.none
|
|
)
|
|
]
|
|
Element.none
|
|
)
|
|
)
|