Skip to main content

Matt Smith

  • About
  • Contact
Modern Web Engineering, Front-End First

CSS fix for 100vh in mobile WebKit

1 min read
248379 views

Not long ago there was some buzz around how WebKit handles 100vh in CSS, essentially ignoring the bottom edge of the browser viewport. Some have suggested not using 100vh, others have come up with different alternatives to work around the problem. In fact, this issue goes further back a few...

  • CSS
  • HTML
  • mobile

Using closest() to return the correct DOM element

1 min read
26249 views

I was recently working with a vertical navigation component and ran into a hiccup where the JavaScript code wouldn’t fire depending on where I clicked on the menu item link. I did some digging and thought I’d share a little about what I discovered and how I was able to...

  • HTML
  • JavaScript

Phone number links and accessibility

1 min read
19277 views

I currently promote using the default styling of links for phone numbers. I've left this post up for historical purposes. One UX challenge that used to give me pause was making phone numbers accessible in the browser while still being functional. Here’s what I mean about that. The WCAG 2.0...

  • accessibility
  • JavaScript
  • mobile
  • UX
Older posts Newer posts
GitHub
LinkedIn
CodePen
RSS
© 2026 Matt Smith. All rights reserved.