mdgriffith/stylish-elephants/7.0.0

NOTE: the latest version is 8.1.0

Element.Border

Border Properties

color : Color -> Attr decorative msg

Border Widths

width : Int -> Attribute msg
widthXY : Int -> Int -> Attribute msg

Set horizontal and vertical borders.

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

Border Styles

solid : Attribute msg
dashed : Attribute msg
dotted : Attribute msg

Rounded Corners

rounded : Int -> Attribute msg

Round all corners.

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

Shadows

glow : Color -> Float -> Attr decorative msg

A simple glow by specifying the color and size.

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