Matthew Morete

@matthewmorete.com

Building websites in Belfast He/Him matthewmorete.com

Now 40% less CSS for the same result! - Minified CSS - No SVG wrapper, I was wrong, it doesn’t need it - No supports, supporting view-transitions but not mask is rare and they just get no transition - Better png encoding + No MIME type or checksum - Frames reversed when smaller

Matthew Morete@matthewmorete.com · 3w ago

A pixel dissolve generator! codepen.io/editor/matth... I've tried to make this effect 10 different ways at this point and it usually requires a mountain of code. An encoded PNG, wrapped in an encoded SVG with 'image-rendering:pixelated' is a very fun CSS trick and way way more compact.

Staff Software Engineer, great with: SQL, Node, Accessibility, Web Assembly, CSS, React, 3D Experience with: Firebase, PHP, Python, C, C#, C++, Java, Native Wii Homebrew Known for: CSS hacking & inventions, tech writing, (offline) game hacking, and many published OS packages

I was tired of having to remember how to calculate measurements for flat-bottom bags. Ive seen calculators for more complicated pouches, but couldnt find a simple calculator just for bottom boxed corners, so I like any good developer with a hobby I built one. boxedbottompattern.netlify.app #sewing

Boxed-Bottom Pattern Generator

Generate custom cutting plans and corner notches for any flat-bottom bag, pouch, or fabric container.

boxedbottompattern.netlify.app

TIL: 'border-radius: 6px 999px 999px 6px' becomes '0px 999px 999px 0px' in most cases. 'When the sum of any two adjacent border radii exceeds the size of the border box, UAs must proportionally reduce the used values of all border radii until none of them overlap.'

Playing around with making a 'shape to polygon' converter for the purposes of fallbacks. But it's interesting that since shape() is sooo verbose you can often get a very similar result for almost the same bytes with polygon()

A converter showing the svg logo rendered with shape() for 3979 bytes vs the same logo rendered with polygon (using 5 segments to approximate curves) for 4102 bytes