#css #properties #shorthand #border #flex #padding #margin

bin+lib style-expand-shorthand

Expand CSS shorthand properties implementation for Rust

1 unstable release

0.1.0 Jan 29, 2024

#7 in #margin

MIT/Apache

39KB
921 lines

Expand CSS shorthand properties implementation for Rust

Supported Properties

  • border
  • border_top
  • border_right
  • border_bottom
  • border_left
  • border_width
  • border_style
  • border_color
  • border_radius
  • padding
  • padding_inline
  • padding_block
  • margin
  • margin_inline
  • margin_block
  • outline
  • flex
  • flex_flow
  • text_decoration
  • overflow
  • gap
  • place_content
  • place_items
  • place_self

Dependencies

~3–4.5MB
~85K SLoC