Smashing Magazine Icon

Smashing Magazine

A web magazine for web designers and developers.
smashingmagazine.com • 5 Stories
All Sources

Smashing Magazine Icon Smashing Magazine

Best practices with CSS Grid layout

Rachel Andrew: An increasingly common question — now that people are using CSS Grid Layout in production — seems to be “What are the best practices?” The short answer to this question is to use the layout method as defined in the specification. The particular parts of the spec you choose to use, and indeed how you combine Grid with other layout methods such as Flexbox, is down to what works for the patterns you are trying to build and how you and your team want to work. Amazingly educational article. I've said it before, and I'll say it again: when you want to learn about CSS Grid, Rachel Andrew is the source.

read more...

Smashing Magazine Icon Smashing Magazine

Replace jQuery with Vue.js without requiring a build step

What some people don't not know is that you can incorporate Vue into your project the same way that you would incorporate jQuery, no build step necessary. You don’t have to rewrite the HTML in JavaScript, you don’t have to use webpack, and you don’t have to set up a giant system. In this post Sarah Drasner covers common jQuery use cases and how to switch them over to Vue, and why you'd even want to.

read more...

Smashing Magazine Icon Smashing Magazine

Making a mobile app with facial recognition features

This article isn't a how-to, per se. It's more like a research report written after attempting to build such an app for the first time. There's nothing wrong with that, though, and this write-up is super useful if you're about to tackle a similar problem space. Open source libraries are tried, facial recognition services are evaluated, and their takeaways are solid, if not a bit disappointing. As you can see, the really simple idea of using facial recognition functionality was not that simple to implement. The entire piece is worth a read.

read more...
0:00 / 0:00