James Smith retweeted
Replying to @housecor
Issue is devs are using these heavy SPA frameworks for non application things (like simple marketing websites). So in that context, it matters a lot.
James Smith retweeted
I'm not seeing enough web design that adapt to the content.
The thinking is more often that the content needs to slot into a prescribed template, not that the design should reflect and adapt to the available content.
Have you seen good examples of content responsive design?
It's been a really long time since I wrote a blog post... Good to get this out, hopefully it helps someone: cld.agency/blog/multi-facete… #craftcms #twig
1
James Smith retweeted
Our beloved friend Mark Lanegan passed away this morning at his home in Killarney, Ireland. A beloved singer, songwriter, author and musician he was 57 and is survived by his wife Shelley. No other information is available at this time. We ask Please respect the family privacy
Surprised more devs are not talking about TBL’s “SOLID” - it doesn’t seem to have gained the traction I was expecting. hackernoon.com/the-social-li…
James Smith retweeted
CSS "content-visibility:auto" is amazing: skip rendering & painting offscreen content until needed. I got a ~1s faster render on a long HTML document on desktop, ~3s on mobile.
web.dev/content-visibility/

ALT The CSS content-visibility property enables the browser to skip an element's rendering work, including layout and painting, until it is needed. Because rendering is skipped, if a large portion of your content is off-screen, leveraging the content-visibility property makes the initial user load much faster. In this screenshot, to the left is a partial screenshot of a long web page with a high rendering and painting time. To the right is a version with content-visibility used on sections of the page, heavily reducing overall rendering times.
James Smith retweeted
I am so mother-flippen excited about CSS scrolly animations.
bram.us/2021/03/04/the-futur…
James Smith retweeted
Use CSS Clamp to create a more flexible wrapper utility piccalil.li/quick-tip/use-cs…
James Smith retweeted
Be careful when using `all: unset` on interactive elements, like buttons to remove the default style. This #CSS rule also removes the focus outline indicator.
Feels a bit dystopian when Alexa understands your child better than you do... “Lexa play Oh My Gammon Star”...
I like Tailwind but I worry about this becoming acceptable. The purist in me thinks they shouldn’t offer the CDN version at all. Tailwind is a power tool and requires a good deal of responsibility to wield... but at the same time I recognise that is elitist gatekeeping. Hmmmm.
Successfully failed to work on @tailwindcss after 1.5 hours of trying. Super frustrated with the process.
Now I'll use CDN.
Finally removed “ExpressionEngine expert” from my Twitter bio. A bit sad and nostalgic about that, as I wouldn’t be where/what I am today without it, having used it since 2007. I wish the new owners luck with the release of v.6. 🎉👋
1
7
Here's something you don't hear very often: I just completed my first project using @tailwindcss and... I _quite liked it_. In related news, I also _quite like_ Marmite.
1

















