<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: josh-comeau</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/josh-comeau.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2025-08-05T05:20:18+00:00</updated><author><name>Simon Willison</name></author><entry><title>A Friendly Introduction to SVG</title><link href="https://simonwillison.net/2025/Aug/5/a-friendly-introduction-to-svg/#atom-tag" rel="alternate"/><published>2025-08-05T05:20:18+00:00</published><updated>2025-08-05T05:20:18+00:00</updated><id>https://simonwillison.net/2025/Aug/5/a-friendly-introduction-to-svg/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.joshwcomeau.com/svg/friendly-introduction-to-svg/"&gt;A Friendly Introduction to SVG&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
This SVG tutorial by Josh Comeau is fantastic. It's filled with neat interactive illustrations - with a pleasing subtly "click" audio effect as you adjust their sliders - and provides a useful introduction to a bunch of well chosen SVG fundamentals.&lt;/p&gt;
&lt;p&gt;I finally understand what all four numbers in the &lt;code&gt;viewport="..."&lt;/code&gt; attribute are for!

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://lobste.rs/s/ome2lo/friendly_introduction_svg"&gt;Lobste.rs&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/svg"&gt;svg&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/explorables"&gt;explorables&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/josh-comeau"&gt;josh-comeau&lt;/a&gt;&lt;/p&gt;



</summary><category term="svg"/><category term="explorables"/><category term="josh-comeau"/></entry><entry><title>How To Center a Div</title><link href="https://simonwillison.net/2024/Feb/13/how-to-center-a-div/#atom-tag" rel="alternate"/><published>2024-02-13T19:51:42+00:00</published><updated>2024-02-13T19:51:42+00:00</updated><id>https://simonwillison.net/2024/Feb/13/how-to-center-a-div/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.joshwcomeau.com/css/center-a-div/"&gt;How To Center a Div&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Josh Comeau: “I think that my best blog posts are accessible to beginners while still having some gold nuggets for more experienced devs, and I think I’ve nailed that here. Even if you have years of CSS experience, I bet you’ll learn something new.”&lt;/p&gt;

&lt;p&gt;Lots of interactive demos in this.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://twitter.com/joshwcomeau/status/1757475065992474680"&gt;@joshwcomeau&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/css"&gt;css&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/josh-comeau"&gt;josh-comeau&lt;/a&gt;&lt;/p&gt;



</summary><category term="css"/><category term="josh-comeau"/></entry><entry><title>An Interactive Guide to CSS Grid</title><link href="https://simonwillison.net/2023/Nov/21/an-interactive-guide-to-css-grid/#atom-tag" rel="alternate"/><published>2023-11-21T16:25:55+00:00</published><updated>2023-11-21T16:25:55+00:00</updated><id>https://simonwillison.net/2023/Nov/21/an-interactive-guide-to-css-grid/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.joshwcomeau.com/css/interactive-guide-to-grid/"&gt;An Interactive Guide to CSS Grid&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Josh Comeau’s extremely clear guide to CSS grid, with interactive examples for all of the core properties.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://twitter.com/joshwcomeau/status/1726989436758675905"&gt;@joshwcomeau&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/css"&gt;css&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/josh-comeau"&gt;josh-comeau&lt;/a&gt;&lt;/p&gt;



</summary><category term="css"/><category term="josh-comeau"/></entry><entry><title>The World of CSS Transforms</title><link href="https://simonwillison.net/2021/Aug/9/css-transforms-tutorial/#atom-tag" rel="alternate"/><published>2021-08-09T14:30:48+00:00</published><updated>2021-08-09T14:30:48+00:00</updated><id>https://simonwillison.net/2021/Aug/9/css-transforms-tutorial/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.joshwcomeau.com/css/transforms/"&gt;The World of CSS Transforms&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Comprehensive, clearly explained tutorial on CSS transforms by Josh W. Comeau, with some very neat interactive demos. I hadn’t understood how useful it is that the translate() transform treats percentages as applying to the dimensions of the element being transformed, not its parent. This means you can use expressions like transform: translateX(calc(100% + 4px)); to shift an element by its entire width plus a few more pixels.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/css"&gt;css&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/josh-comeau"&gt;josh-comeau&lt;/a&gt;&lt;/p&gt;



</summary><category term="css"/><category term="josh-comeau"/></entry></feed>