Blog
Articles about web development, design, performance, and related topics. Subscribe via RSS to keep up with new articles, or browse by topic.
- How large language models generate text
A plain-English explanation of large language models, what they can do, and why fluent output should not be confused with truth.
- Run an Ollama Local Model and Create a Modelfile
Run an Ollama local model, inspect installed and running models, create a Modelfile, and make a local API request while keeping cloud execution separate.
- CSS aspect-ratio for Images, Frames, and Layouts
Use CSS aspect-ratio for thumbnails, avatars, and video frames. Separate box proportions from cropping, intrinsic image ratios, and fixed-size constraints.
- CSS text-wrap: Wrapping, Overflow, and Long Text
Use CSS text-wrap for normal copy, single-line labels, and editable text. Handle ellipses, long URLs, shorthand resets, and layout constraints separately.
- Use AI as an Editor, Not a Ghostwriter
A practical way to use AI for blog ideas, outlines, research leads, and editing without losing your own voice.
- Writing an AI prompt that says what you need
Write clearer AI prompts by defining the task, context, constraints, output format, and examples.
- How margin-inline follows the text direction
CSS margin-inline sets margins along the inline axis, making spacing work across writing modes and text directions.
- What CSS color-scheme Actually Does
Tell the browser which color schemes your page supports and let native controls match light or dark mode.
- Serving Google Fonts from your own domain with Cloudflare
Cloudflare Fonts can serve Google Fonts from your own domain. Here is what that changes for performance, privacy, and setup.
- How to Block AI Crawlers Without Blocking Search
Block selected AI crawlers with robots.txt or Cloudflare, and understand why meta tags and old IP lists are weaker options.
- What people mean when they talk about AGI
Artificial general intelligence describes a hypothetical system able to handle a broad range of cognitive tasks, but the definition remains disputed.
- Figma vs Sketch in 2024
A practical 2024 comparison of Figma and Sketch, focused on collaboration, platforms, offline work, and handoff.
- What to test when Facebook ads aren't working
Improve Facebook ads with a clear objective, useful creative, controlled tests, reliable measurement, and budget decisions based on outcomes.
- Making Digital Advertising Decisions With Data
Use campaign data to find useful audience segments, test ads, and spend the advertising budget where it has a better chance of working.
- The Apps I Actually Use Every Day
A straightforward list of the default apps and services I use for mail, notes, photos, work, and everything in between.
- Native CSS Nesting Without Sass
Use native CSS nesting to keep related selectors and media queries together without turning the stylesheet into a maze.
- Fluid Typography and Spacing With CSS clamp()
Use CSS clamp() for fluid typography and spacing. Combine relative and viewport units, set readable limits, and keep layout changes separate from sizing.
- Aligning Nested Layouts With CSS Subgrid
Use CSS subgrid when items inside a nested grid need to align with tracks from the parent grid.
- Loading videos only when they're needed
Delay video downloads with preload settings or Intersection Observer, depending on whether the video waits for a click or plays automatically.
- Cutting Elements Into Shapes With CSS clip-path
Use CSS clip-path to reveal circles, polygons, insets, and other shapes without editing the original image.