A classic problem in CSS is maintaining the aspect ratio of images across related components, such as cards. The newly supported aspect-ratio
property in combination with object-fit
provides a remedy to this headache of the past! Let’s learn to use these properties, in addition to creating a responsive gradient image effect for extra flair.
https://smashingmagazine.com/2021/02/responsive-image-effects-css-gradients-aspect-ratio/
As digital practitioners, GDPR has impacted every facet of our professional and personal lives. Whether you’re addicted to Instagram, message your family on WhatsApp, buy products from Etsy or Google information, no one has escaped the rules that were introduced in 2018. https://smashingmagazine.com/2021/02/state-gdpr-2021-key-updates/
As developers, we’re constantly learning new languages and frameworks. But how can you structure this learning to ensure maximum benefit while still progressing? Here’s how you can devise your own curriculum to keep moving in the right direction. https://smashingmagazine.com/2021/02/building-personal-learning-curriculum/
In this article, we take a look at the topic of context and variables in Hugo, a popular static site generator. You’ll understand concepts such as the global context, flow control, and variables in Hugo templates, as well as data flow from content files through templates to partials and base templates. https://smashingmagazine.com/2021/02/context-variables-hugo-static-site-generator/
DevTools is very advanced and helpful, but can also be very intimidating and overwhelming. Let’s fix that. In this article, Vitaly reviews useful features and shortcuts for debugging in Chrome, Firefox, Edge and Safari. https://smashingmagazine.com/2021/02/useful-chrome-firefox-devtools-tips-shortcuts/
Adding video to your application can increase customer engagement and satisfaction. But the exact opposite can occur when there are issues with the video playback: video stalls are frustrating and drive customers away. In this article, we’ll walk through the steps to optimize the video on your website to ensure fast playback and reduce stalls. https://smashingmagazine.com/2021/02/optimizing-video-size-quality/
A couple of weeks ago, we organized a Form Design Masterclass, an online workshop with Adam Silver alongside 81 friendly and smart people. Today, Adam shares his experience and details by highlighting what you as an attendee can expect from a Smashing Workshop, and things to keep in mind when running one. https://smashingmagazine.com/2021/02/smashing-workshop-form-design-masterclass/
Film credits, brand logos, posters… Saul Bass did it all, and the principles that informed his work are just as valuable now as they were 50 years ago. https://smashingmagazine.com/2021/02/saul-bass-teach-web-design/
Headless CMS is a powerful and easy way to manage content and access API. Built on React, Sanity.io is a seamless tool for flexible content management. It can be used to build simple to complex applications from the ground up. https://smashingmagazine.com/2021/02/web-app-react-redux-sanity-io/
In this article, Tobias explores some of the less known but very useful features in Git. You’ll learn how to recover deleted commits, clean up your commit history, use submodules to manage third-party code and compose commits with precision — along with a friendly Git cheat sheet. https://smashingmagazine.com/2021/02/getting-the-most-out-of-git/