@coli.codes/css
v0.0.34
Published
- dimension - [mdn docs](https://developer.mozilla.org/en-US/docs/Web/CSS/dimension), [w3school](https://www.w3schools.com/cssref/css_units.asp) - cm - mm - in - px - pt - pc - em - ex - ch - rem - vw - vh - vmin - vmax - tur
Downloads
56
Readme
Coli CSS AST uses csstree declaration standard.
- dimension - mdn docs, w3school
- cm
- mm
- in
- px
- pt
- pc
- em
- ex
- ch
- rem
- vw
- vh
- vmin
- vmax
- turn
- percentage
- hexcolor (hash in csstree)
- rgbacolor (function in csstree)
- identifier
- selector
- id selector -
#id
- type selector -
p
- class selector -
.class
- id selector -
- function
Css Functions
- https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Functions
- https://www.w3schools.com/cssref/css_functions.asp
Transform functions https://developer.mozilla.org/en-US/docs/Web/CSS/transform
- none
- matrix()
- matrix3d()
- perspective()
- rotate()
CSS Custom properties
- https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
- https://developer.mozilla.org/en-US/docs/Web/CSS/--*
References
- https://drafts.csswg.org/cssom/
- https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model
- https://github.com/NV/CSSOM
- https://github.com/postcss/postcss
uses csstype
- csstype - https://github.com/frenic/csstype
References
- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts
- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/styled-components/index.d.ts
- https://github.com/frenic/csstype#usage