Skip to content

Commit 74df108

Browse files
committed
Add border rules.
1 parent 81d1c35 commit 74df108

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/CSS/Border.purs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@ outset = Stroke $ fromString "outset"
5050
border :: Stroke -> Size Abs -> Color -> CSS
5151
border a b c = key (fromString "border") $ tuple3 a b c
5252

53+
borderTop :: Stroke -> Size Abs -> Color -> CSS
54+
borderTop a b c = key (fromString "border-top") $ tuple3 a b c
55+
56+
borderBottom :: Stroke -> Size Abs -> Color -> CSS
57+
borderBottom a b c = key (fromString "border-bottom") $ tuple3 a b c
58+
59+
borderLeft :: Stroke -> Size Abs -> Color -> CSS
60+
borderLeft a b c = key (fromString "border-left") $ tuple3 a b c
61+
62+
borderRight :: Stroke -> Size Abs -> Color -> CSS
63+
borderRight a b c = key (fromString "border-right") $ tuple3 a b c
64+
5365
borderColor :: Color -> CSS
5466
borderColor = key $ fromString "border-color"
5567

0 commit comments

Comments
 (0)