stevenpotts 6 days ago

Around May I posted a critical CSS generator and it got some attention. I found a word-for-word copy that performs better in Google but has worse results IMO, recently received an email of a person who uses the tool often asking if the tool was being used to train AI and even shared the repo with some people that asked me.

Anyway, this tool appeared to be useful for many people so I moved it to my main site and made it work with Frontend Frameworks and inline CSS, so should work for everyone now.

n_u 13 hours ago

Cool! I've always wanted something like this. Usually I just have to manually remove redundant CSS and styling options.

Can you explain why the viewport width and height are needed?

  • OuterVale 11 hours ago

    Content that appears in the viewport before scrolling is considered 'above-the-fold' and is thus prioritised to load quickest. The viewport dimensions are used to figure out what will be above-the-fold.