bbioonThemes
  • Home
  • Blog

Category: Front-end

Accessibility, Design, Front-end

CSS contrast-color(): let the browser pick readable text

The CSS contrast-color() function returns black or white text for whatever background color a user picks. How the syntax works, why the @supports fallback still matters, and the cases it does not cover.

Read Article
Accessibility, Design, Front-end

Streaming UI stability: fixing scroll jumps and layout shifts

Streaming interfaces jump around and drag the scrollbar back to the bottom. What fixes it: tracking whether the user scrolled away, batching renders into the animation frame, and marking the container up as an ARIA log region.

Read Article
Development, Front-end

Native CSS randomness: random() instead of JavaScript hacks

CSS Values Level 5 adds random() and random-item(), which the browser resolves at render time. Why that beats Sass build-time randomization, PHP inline styles and Math.random() for scattered layouts and varying animation delays.

Read Article
Development, Front-end

Polyfilling the ::nth-letter selector with a JavaScript shim

The ::nth-letter selector still is not in any browser, and hand-wrapping every character in a span wrecks the DOM. A shim that rewrites the raw CSS into :nth-child and lets SplitText handle the markup and the ARIA.

Read Article
Development, Front-end

justify-self in CSS grid, block and absolute layouts

justify-self aligns one element along the inline axis and overrides the justify-items value its parent set. This covers how it behaves in grid, in block layouts, and on absolutely positioned items, plus the inset rule that trips people up.

Read Article
Development, Front-end

How I replaced the Astro Markdown component in v3

Astro 3.0 removed the built-in Markdown component and left developers choosing between raw HTML and heavy MDX. Ahmad Wael covers the community replacement he uses, how it handles indentation, and the Prettier habit that breaks it.

Read Article
Development, Front-end

Modern CSS features that let me delete the hacks

Browsers are shipping faster than most of us can refactor. A look at clip-path rounded polygons, element-scoped view transitions, subgrid and @scope, and which JavaScript libraries they let you drop from a WordPress project.

Read Article
Development, Front-end

Chrome 145 lets CSS multi-column layouts wrap vertically

Chrome 145 adds column-wrap and column-height, so a multi-column container can push overflow content down to a new row instead of off the right edge. Here is how the two properties behave and where Grid or masonry still fits better.

Read Article
Design, Development, Front-end

Handling UI state in CSS with a radio state machine

Most visual UI state does not need JavaScript. This is the radio state machine: radio inputs plus :has() and :checked driving toggles, panels and swatches in WordPress and WooCommerce, without breaking keyboard or screen reader access.

Read Article
Development, Front-end

View Transitions API recipes for WordPress navigation

The View Transitions API is Baseline now, so smooth page transitions in WordPress no longer need a PJAX library. Includes the opt-in rule, four CSS recipes, and the race condition that makes them look janky.

Read Article

Posts navigation

Previous 1 2 3 4 … 9 Next

bbioonThemes

Senior WordPress Engineer
Toptal & Codeable Expert

Connect

  • GitHub
  • Twitter
  • LinkedIn
  • Codeable

Explore

  • Expertise
  • Work
  • Insights
  • Blog

Resources

  • bbioonThemes
  • Contact
  • Privacy Policy
© 2026 bbioonThemes. All rights reserved.
Privacy