Skip to content

Warry/inline-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inline Css

Css helpers for inline usage.

import Html exposing (Html, Attribute, div, text)
import InlineCss exposing (..)

example : Html a
example =
    div
        [ myStyle ]
        [ text "Foo" ]

myStyle : Attribute a
myStyle =
	style
        [ padding (px 50)
        , background "#f00"
        , color "#000"
        , display.flex
        ]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages