DOM element id as global property
An element with an id is automatically added as a global property to the window object. This is an outdated practice but still exists in some old scripts.
Software engineer
Day job React | side projects Svelte
Just another CSS border radius generator
I was starting this CSS reproduction of a car and needed a shape for something which gave me a nice excuse to use Svelte to make a little utility, and to learn more about Svelte of course.
An element with an id is automatically added as a global property to the window object. This is an outdated practice but still exists in some old scripts.
How to get the list of custom emulated devices added via chrome developer tools.
When using logical AND, React can display 0 in the UI in certain circumstances and this might not be what you expect. It is however the correct behaviour and I was not aware why.
How to wrap an mdsvex document with a layout component allowing you to do all manner of things.
How to tell git to ignore files in a repository without adding to .gitignore
Adding the svelte renderer to astro
I found these amazing designs so started doing a few reproductions in html and css. I particularly like the 1970’s car series.