This module includes the basic building bocks. Maybe start by copying the follow code into your project:
view : Html msg
view =
Framework.layout [] <|
Element.el Framework.container <|
Element.text "the first element should be a container."A replacement of Element.layout adding both the Framework.layoutOptions and the Framework.layoutAttributes.
The container should be the outer most element. It centers the content and sets the background to white.
The default layoutOptions. Check the source code if you want to know more.
The default Attributes. Check the source code if you want to know more.
same as
layout, but also includes the following meta tag:This will ensure that phones will render the page responsively. Without this, a typical phone will set its internal "screen width" to 1000px and will then manually scale the page to fit the screen.