penthouse
css-loaders
Our great sponsors
penthouse | css-loaders | |
---|---|---|
5 | 1 | |
2,618 | 7,033 | |
- | - | |
0.0 | 0.0 | |
5 months ago | 9 months ago | |
HTML | CSS | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
penthouse
-
Extracting and using Critical CSS on my Eleventy site
It is a wrapper around Penthouse, the original critical path CSS generator, and performs two additional functions:
-
Critical CSS? Not So Fast
It is easy with a little automation :). In the build process, adding a step to calculate critical path css helps. This should probably be the last step and run on production post deploy. The calculated CSS is stored in redis which will be appended in the head for subsequent requests. This tool had inspired me to build this process at multiple orgs I have worked with https://github.com/pocketjoso/penthouse.
Agree on the async JS part but I guess browser makers will solve it soon.
-
What to do for website speed optimization?
inline critical css (here is a useful tool https://jonassebastianohlsson.com/criticalpathcssgenerator/) , and here an explanation (https://web.dev/extract-critical-css/).
-
CSS Deep
pocketjoso/penthouse - Generate critical css for your urls
-
Force include classes in critical CSS
Critical CSS uses as its engine penthouse which has in turn a lot of configuration options. One of them, is forceInclude.
What are some alternatives?
critical - Extract & Inline Critical-path CSS in HTML pages
SpinKit - A collection of loading indicators animated with CSS
article-extractor - To extract main article from given URL with Node.js
NProgress - For slim progress bars like on YouTube, Medium, etc
Compass - Compass is no longer actively maintained. Compass is a Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain.
Gutenberg - Modern framework to print the web correctly.
haste-perch - Create dynamic HTML easy in the browser using declarative notation
sakura - :cherry_blossom: a minimal css framework/theme.
Sequence - The responsive CSS animation framework for creating unique sliders, presentations, banners, and other step-based applications.
Ladda - Buttons with built-in loading indicators.
card - :credit_card: make your credit card form better in one line of code
PageLoadingEffects - Modern ways of revealing new content using SVG animations.