Head and shoulders photo of Ben Frain

Hi! I'm Ben Frain

A web developer and author. I write web development books, make online courses, and publish YouTube videos.

Book
Book cover of Responsive Web Design with HTML5 and CSS, Fourth Edition

Learn how to build modern, responsive websites.

Major updates in the latest, 4th Edition – container queries, cascade layers, subgrid and more.

Learn More...

Video Course
Ultimate Text Editing Productivity with Sublime Text
This course is excellent. Ben did a great job of explaining the various functionalities of Sublime

Jovan Nikolic, Skillshare

Recent Posts

Struggling to learn SwiftUI

For the past ten days or so, I have been trying to gain some basic competency with SwiftUI. I have found it hard. Very hard. But I finally feel there is a sliver of light in my comprehension. Just enough…

How to create rounded gradient borders with any background in CSS

A solution! For many months I have been trying to find a decent solution to rounded gradient borders that allow a semi-transparent or blurred main background. Finally, I came across this: https://forum.freecodecamp.org/t/how-to-make-a-css-border-gradient-with-transparent-background/571903/2 My pen https://codepen.io/benfrain/pen/KKEemKd is a fork of Lasse’s…