css-inline icon indicating copy to clipboard operation
css-inline copied to clipboard

High-performance library for inlining CSS into HTML 'style' attributes

Results 57 css-inline issues
Sort by recently updated
recently updated
newest added

In this case, it is possible to avoid allocating `String` and more compact `Tendril` instances will be used instead

Area: Command Line
Area: Performance
Priority: Low
Type: Enhancement
Hacktoberfest

As `juice` does It is only relevant for CLI, with the library itself, the end-user can load css from a file manually.

Priority: Low
Type: Feature
Hacktoberfest

Inlining itself could be also optimized if we could just join all loaded CSS into a single string. Worth researching, however, I am not sure how common it is to...

Area: Performance
Type: Enhancement

### Problem Since everything is inlined, classes are useless and likely won't bring any benefits but occupy some space in the output. Hence I believe we can safely remove them....

Priority: Medium
Type: Feature

Now we have some extra spaces that are not needed. `;` in the end, is also optional

Area: Performance
Priority: Low

For example: ```html h1 { font-size: 14px; } @media only screen and (max-width: 620px) { h1 { font-size: 16px; } } Hello ``` Should be converted to: ```html @media only...

Resolves #246 - [ ] Use `Atomic` for tendrils during doc construction when necessary

Generally, customizable resolvers will be nice (eg to provide a way to use the fetch API in WASM instead of our default impl). When implemented, we can ship a caching...

Priority: Medium
Type: Feature

Updates the requirements on [cssparser](https://github.com/servo/rust-cssparser) to permit the latest version. Commits See full diff in compare view You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]:...

dependencies
rust

Updates the requirements on [pico-args](https://github.com/RazrFalcon/pico-args) to permit the latest version. Changelog Sourced from pico-args's changelog. [0.5.0] - 2022-06-04 Changed The eq-separator build feature is no longer enabled by default. Small...

dependencies