Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comparison to Juice #5

Open
parshap opened this issue Jun 17, 2014 · 4 comments
Open

Comparison to Juice #5

parshap opened this issue Jun 17, 2014 · 4 comments

Comments

@parshap
Copy link

parshap commented Jun 17, 2014

Can you document how Styliner differs from Juice?

@zauni
Copy link

zauni commented Aug 27, 2014

Styliner is better for handling media queries. Because Juice will ignore them. Styliner is preserving them in style tags, so that they are used by email clients who don't throw away the style tags.

@andrewrk
Copy link

There is also juice2 which has an option to preserve media queries.

@faridnsh
Copy link

I wrote the differences between the libraries in here:

  • juice. 1.7Mb with dependencies.
  • juice2. 5.9Mb with dependencies. This is a fork of juice, seems to be containing more options than juice. This one doesn't drop media queries as juice does. Sorts inline css rules alphabetically.
  • styliner. 4.0Mb with dependencies. This one uses promises instead. Have a couple of different options than juice2. Has a compact option that other ones don't have that minifies the html. Doesn't read the html file itself as others do. Also extends margin and padding shorthands.

@stevenvachon
Copy link

Juice removes pseudo-classes whereas Styliner preserves them in <style>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants