Home - Geoff Rich
Some assorted Svelte demos - Geoff Rich
Conditional wrappers, native page transitions, an action to detect focus leaving, and a recursive action.
Quick and Small Accessibility - Bite-Sized Accessibility
Learn something new about accessibility with short and solid posts (less than 150 words).
TypeTrials𛲅 Powered by Pangram Pangram Foundry
TypeTrials is a tool designed for testing variable fonts and much more! Powered by Pangram Pangram Foundry
Progressively Enhancing a Form with Web Components
Using a web component to turn a form into a multi-step process.
How to add client-side search with PageFind to your Astro blog static website
PageFind client-side search for Astro is simple but if you want to add search capabilities to a personal blog then you might think of Algolia first. However, let me show you how an easy PageFind integration would be more suitable for a static-site generation type of blog tech.
Vanilla List • The Vanilla JavaScript Repository
The Vanilla JavaScript Repository
Responsive Video Poster - Responsive poster image for videos
Video elements only allow specifying one image as the poster, which is not optimal for performance. This JavaScript plugin uses a standard image tag as the poster. This means standard responsive image techniques can be used to load only the most appropriate image. This also gives full styling control of video placeholders. Performance optimizations are also included for loading of both native and embedded videos.
Building a stylish Masonry layout using CSS and JavaScript
Effectively rendering huge amounts of data on a website can be a challenging problem. I'll show you how to use the masonry pattern to not only deal with this challenge, but to do it while looking stylish.
A color-contrast() strategy for complimentary translucent backgrounds · February 7, 2023
Website for Adam Argyle: Teacher, Speaker, CSSWG member, and creator of Open Props and VisBug.
On-Scroll Typography Animations | Codrops
Inspiration and ideas for on-scroll typography animations that add an extra layer of creativity to a website design.
Theme Toggles
A Collection of dark and light theme toggles, built with SVG's driven by CSS transitions. This dark mode switches library comes with official React support
CSS Layers for CSS Resets
I have always been one of those people who preferred the aggressive CSS reset methods. These methods delete most of the default styles of…
ScrollyVideo.js
Responsive scrollable videos without obscure video encoding requirements. Compatible with React, Svelte, Vue, and plain HTML.
20 Killer JavaScript One-Liners That’ll Save You Hours of Coding 🤯🔥
Take your JavaScript skills to the next level with these essential one-liners that will also save you...
My town sure seems to have a lot of...
Using Google Maps APIs to count the number of a type of business in your area.
Screen Readers support for text level HTML semantics - TPGi
A long time ago (2008) I wrote an article: Screen Readers lack emphasis. At the time, 15 years ago, the screen readers tested did not signify the semantics of text […]
clamp() Calculator
Handy little tool for calculating viewport-based clamped values.
Calligrapher.ai: Realistic computer-generated handwriting
Convert text to handwriting using an in-browser recurrent neural network. Choose from various print and cursive styles. Customize the outputs and download as SVG.
Animation With Svelte
Master animation with Svelte from regular and custom transitions to using other animation libraries.
The Key To Good Component Design Is Selfishness — Smashing Magazine
In this article, Daniel Yuschick demonstrates that building selfish components is the key approach to avoiding different pitfalls on the way to good component design.
Level Up Your CSS Skills With The :has() Selector — Smashing Magazine
The CSS relational selector :has() offers what was previously impossible without JavaScript. Let’s explore some magical powers that :has brings.
Creating A High-Contrast Design System With CSS Custom Properties — Smashing Magazine
Managing our colors can truly help people to access our content. In this article, Brecht de Ruyte takes a deep dive into how we can create a high-contrast system while maintaining a balance between designing something accessible and respecting the look and feel of a brand.
Accessible hamburger buttons without JavaScript - Pausly blog
Learn how to create an accessible hamburger button with pure HTML and CSS and why that is important.
Jampack | jampack
Optimizes static websites for best user experience and best Core Web Vitals scores.
Getting Started With SvelteKit | CSS-Tricks
SvelteKit is the latest of what I'd call next-gen application frameworks. It, of course, scaffolds an application for you, with the file-based routing,
Getting Started with Deno Fresh & the Platform 🍋
Getting started with Deno Fresh 🍋 how to get going fast with Fresh, from setting up tooling to using the platform & deploying your new site.
Cider
A new cross-platform Apple Music experience based on Vue.js written from scratch with performance in mind. 🚀
All Things AI - The Complete Resource Of Artificial Intelligence Tools & Services
World's Largest Resource Of Artificial Intelligence Tools & Services
Conditional CSS - Ahmad Shadeed
CSS is condtional in many ways. In this article, I will go over a few CSS features that we use every day, and show you how conditional they are.