Lesson
Render a Basic Element with style-elements in Elm
In this lesson we will take a basic application, bootstrapped with create-elm-app, and begin converting the divs and h1s into style-elements.
- Duration
- 3 min
- Access
- Pro
- Transcript
- Needs source
In this lesson we will take a basic application, bootstrapped with create-elm-app, and begin converting the divs and h1s into style-elements.
Style elements separate our styles from the layout and positioning of elements. The Element module gives us everything we need for our view while the Style module will be the base for creating our stylesheet.