css v1.0.0 Css
Documentation for Css.
Link to this section Summary
Functions
Generates a style tag and a class to be attached to individual components
Link to this section Functions
Link to this function
background_color(color)
Link to this function
border(width, type, color)
Link to this function
border_bottom_color(color)
Link to this function
border_color(color)
Link to this function
border_left_color(color)
Link to this function
border_radius(r)
Link to this function
border_right_color(color)
Link to this function
border_top_color(color)
Link to this function
box_shadow(s)
Link to this function
box_shadow(offset_x, offset_y, blur_radius, color)
Link to this function
box_shadow(offset_x, offset_y, blur_radius, spread_radius, color)
Link to this function
checked(styles)
Link to this function
color(color)
Link to this function
disabled(styles)
Link to this function
display_flex()
Link to this function
em(i)
Link to this function
flex(l)
Link to this function
flex_direction(d)
Link to this function
focus(styles)
Link to this function
font_family(f)
Link to this function
font_size(s)
Link to this function
hex(h)
Link to this function
hover(styles)
Link to this function
invalid(styles)
Link to this function
line_height(h)
Link to this function
margin(m)
Link to this function
padding(p1, p2)
Link to this function
pct(i)
Link to this function
px(i)
Link to this function
required(styles)
Link to this function
rgb(color)
Link to this function
styled(styles)
Generates a style tag and a class to be attached to individual components
Examples
iex> [display_flex(), hover [background_color(rgb("#200F13"))]] |> styled()
{"aoGhYVFwgcTVVW", ".aoGhYVFwgcTVVW {\n display: flex;\n}\n.aoGhYVFwgcTVVW:hover {\n background-color: #200F13;\n}\n"}
Link to this function
stylesheet()
Link to this function
visited(styles)
Link to this function