css-doodle

🎨 A web component for drawing patterns with CSS.

MIT License

Downloads
18.1K
Stars
5.4K
Committers
8

Bot releases are hidden (Show)

css-doodle - v0.4.1

Published by yuanchuan over 6 years ago

Fixes

  • Fix parse error to read arguments.
  • Fix context called by @n() and @pick-by-turn().

Changes

  • Remove legacy functions and properties: size(), min-size(), max-size() and @shape() .

Features

  • Add aliases for frequently used functions.
css-doodle - v0.4.0

Published by yuanchuan over 6 years ago

Fixes

  • Fix parse error to support more dynamic values inside function parameters.
  • Fix parse error related to @keyframes.

Changes

  • The second value of @place-cell is set to 50% when it is missing.

Features

  • Add @multiple() function to easily compose values.
  • Add @pick-by-turn() to pick a value one by one.
  • Add @last-pick() and @last-rand() to reference the last generated value.
  • Add @var() to replace the use of var() inside the styles which passed to the @use property.
css-doodle - v0.3.2

Published by yuanchuan over 6 years ago

Fixes

  • Fix parse error

Features

  • Add experimental @svg() function to use svg as background
css-doodle - v0.3.1

Published by yuanchuan over 6 years ago

Fixes

  • Fix bug in @size()
  • Fix type error in @calc()
  • Support more CSS units
  • Fix bug on reset

Features

  • Support left/right, top/bottom keywords for @place-cell
css-doodle -

Published by yuanchuan over 6 years ago

Fixes

  • Fix duplicate rule for nth-of-type(1)
  • Remove eval() for Math functions

Features

  • Add @use property and use attribute