css-autoprefix

Crates.iocss-autoprefix
lib.rscss-autoprefix
version0.0.5
sourcesrc
created_at2017-11-08 10:11:57.933233
updated_at2017-11-13 10:18:58.965552
descriptionProvides a library similar to [autoprefixer](https://github.com/postcss/autoprefixer) to prefix your CSS depending on the versions of web browsers, but in Rust. Currently needs nightly rust as a dependency (phf) needs nightly. Makes use of caniuse.com's database via caniuse-serde (ie offline).
homepagehttps://github.com/lemonrock/css-autoprefix
repositoryhttps://github.com/lemonrock/css-autoprefix.git
max_upload_size
id38578
size74,722
Raphael Cohn (raphaelcohn)

documentation

https://docs.rs/css-autoprefix

README

css-autoprefix

css-autoprefix is a rust crate that provides a library similar to autoprefixer, but in Rust.

Currently needs nightly rust as a dependency (phf) needs nightly.

The following property values are not autoprefixed

		// Property Values
		/*
			Feature Name			Property Name(s)	Property Values
			intrinsic-width			'width', 'min-width', 'max-width', 'height', 'min-height', 'max-height', 'inline-size', 'min-inline-size', 'max-inline-size', 'block-size', 'min-block-size', 'max-block-size', 'grid', 'grid-template', 'grid-template-rows', 'grid-template-columns', 'grid-auto-columns', 'grid-auto-rows'    with values   'max-content', 'min-content', 'fit-content', 'fill', 'fill-available', 'stretch'
			css-filter-function		'background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'     filter() (a filter function, needs prefixing with -webkit- currently)
			css-element-function	'background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'		element() (a element function, needs prefixing with -moz- currently)
			css-image-set	'background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'		image-set() (an image-set function, needs prefixing)
			css-cross-fade	'background', 'background-image', 'border-image', 'mask', 'list-style', 'list-style-image', 'content', 'mask-image'		cross-fade() (an image-set function, needs prefixing)
			css-unicode-bidi		unicode-bidi	Various settings for property values. Quite messy. Not widely used. Note that `css-unicode-bidi` is the name autoprefixer uses, but it does not seem to be in my caniuse.com database.
			css-gradients (Historic)
			calc (Historic); a function that affects all properties
			css3-cursors-newer (Historic)  cursor	zoom-in,zoom-out
			css-crisp-edges: too messy; Chrome and Firefox conflict
		*/

Licensing

The license for this project is MIT.

Commit count: 11

cargo fmt