flytreeleft/elm-ui/6.2.0

Element.Border

color : Color -> Attr decorative msg

Border Widths

width : Int -> Attr decorative msg
widthXY : Int -> Int -> Attr decorative msg

Set horizontal and vertical borders.

{ bottom : Int
, left : Int
, right : Int
, top : Int
}
-> Attr decorative msg

Border Styles

solid : Attr decorative msg
dashed : Attr decorative msg
dotted : Attr decorative msg

Rounded Corners

rounded : Int -> Attr decorative msg

Round all corners.

{ topLeft : Int
, topRight : Int
, bottomLeft : Int
, bottomRight : Int
}
-> Attr decorative msg

Shadows

glow : Color -> Float -> Attr decorative msg

A simple glow by specifying the color and size.

innerGlow : Color -> Float -> Attr decorative msg
List
{ inset : Bool
, offset : ( Float, Float )
, size : Float
, blur : Float
, color : Color
}
-> Attr decorative msg
{ offset : ( Float, Float )
, size : Float
, blur : Float
, color : Color
}
-> Attr decorative msg
{ offset : ( Float, Float )
, size : Float
, blur : Float
, color : Color
}
-> Attr decorative msg