Live data from Hacker News

Show HN: Pattern.css – CSS-only library to fill empty background with patterns

github.com

1–10 of 50 posts

Re: Show HN: Pattern.css – CSS-only library to fill empty background with patterns

#5
Pretty neat project and great presentation, starred!

You could reduce the distributed CSS version even more if you used the gradient definition only once, it's always the same.

      background-image: repeating-linear-gradient(45deg, currentColor 25%, transparent 25%, transparent 75%, currentColor 75%, currentColor), repeating-linear-gradient(45deg, currentColor 25%, transparent 25%, transparent 75%, currentColor 75%, currentColor);
With class composition it's easy:

    .pattern-checks.xl {
      background-position: 0 0, 100px 100px;
      background-size: calc(2 * 100px) calc(2 * 100px);
    }
But if you added a copy-paste ready snippet to the landing page, that would be great too.

Re: Show HN: Pattern.css – CSS-only library to fill empty background with patterns

#8
Example site ( https://bansal.io/pattern-css ) misrendered in Vivaldi, which brings me back PTSD grade memories about the browser war and css bugs, implementation-diferences, etc. So let me ask, how is it possible on the almost completely monoculturized web, where is no Presto and almost no Trident anymore, where almost every browser is kind of chrome-isotope. So let me ask, maybe a web developer cn answer me: what is missing to be able to provide complete support forthe main browsers? Is there still prefixed css tags? OR is it so hard to handle differences between browsers/browser-versions? Doesn't CSS have any graceful fallback functionality for older browsers? Why is this phenomen exists today?

Re: Show HN: Pattern.css – CSS-only library to fill empty background with patterns

#9
post #8

Example site ( https://bansal.io/pattern-css ) misrendered in Vivaldi, which brings me back PTSD grade memories about the browser war and css bugs, implementation-diferences, etc. So let me ask, how is it possible on the almost completely monoculturized web, where is no Presto and almost no Trident anymore, where almost every browser is kind of chrome-isotope. So let me ask, maybe a web developer cn answer me: what i…

Is also not rendered correctly in Firefox 75 (Linux, PC)

Re: Show HN: Pattern.css – CSS-only library to fill empty background with patterns

#10
post #8

Example site ( https://bansal.io/pattern-css ) misrendered in Vivaldi, which brings me back PTSD grade memories about the browser war and css bugs, implementation-diferences, etc. So let me ask, how is it possible on the almost completely monoculturized web, where is no Presto and almost no Trident anymore, where almost every browser is kind of chrome-isotope. So let me ask, maybe a web developer cn answer me: what i…

Can you provide a screenshot?
Post reply on HN