mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-25 19:15:09 +03:00
update examples on readme so they compile
This commit is contained in:
parent
53a2732d95
commit
82b36545f3
@ -20,9 +20,11 @@ This means:
|
|||||||
* **Layout and style are explicit and easy to modify.** CSS and HTML as tools for a layout language are hard to modify because there's no central place that represents your layout. You're generally forced to bounce back and forth between multiple definitions in multiple files in order to adjust layout, even though it's probably the most common thing you'll do.
|
* **Layout and style are explicit and easy to modify.** CSS and HTML as tools for a layout language are hard to modify because there's no central place that represents your layout. You're generally forced to bounce back and forth between multiple definitions in multiple files in order to adjust layout, even though it's probably the most common thing you'll do.
|
||||||
|
|
||||||
|
|
||||||
[Try this live example on Ellie!](https://ellie-app.com/3f2n4J5RnT3a1)
|
[Try this live example on Ellie!](https://ellie-app.com/7Cw4VCyr3RGa1)
|
||||||
|
|
||||||
```elm
|
```elm
|
||||||
|
module Main exposing (..)
|
||||||
|
|
||||||
import Element exposing (Element, el, text, row, alignRight, fill, width, rgb255, spacing, centerY, padding)
|
import Element exposing (Element, el, text, row, alignRight, fill, width, rgb255, spacing, centerY, padding)
|
||||||
import Element.Background as Background
|
import Element.Background as Background
|
||||||
import Element.Border as Border
|
import Element.Border as Border
|
||||||
|
Loading…
Reference in New Issue
Block a user