article thumbnail

A New Way To Reduce Font Loading Impact: CSS Font Descriptors

Smashing Magazine

Smashing Magazine, like most publishers, makes use of web fonts and the below screenshot shows the difference between the initial render (with the fallback fonts), and the final render (with the web fonts): Smashing Magazine article with fallback font and with full web fonts. Large preview ). Large preview ).

article thumbnail

Improving The Performance Of An Online Store (Case Study)

Smashing Magazine

Many of them are covered in CSS-Tricks’ helpful overview , and Smashing Magazine offers a great PDF checklist. We audited the JavaScript that we had, and the majority is from libraries for different tasks, with very little custom code. First Things First: Things Loaded On All Pages. Font Loading. Explicit Dimensions Against CLS.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Signals For Customizing Website User Experience

Smashing Magazine

Approximately two-thirds of Indian mobile Chrome users of Smashing Magazine have this setting turned on, for example. For Smashing Magazine, that involved dropping some of our web fonts. And Is It Used? Again, I talked about this that previous article , and the answer is a resounding yes! Data Saver. Network Signals.

Website 103
article thumbnail

Respecting Users’ Motion Preferences

Smashing Magazine

Most new operating systems enable the user to set their motion preferences in their system-level settings. The prefers-reduced-motion media query (part of the Level 5 Media Queries specification) allows us to detect users’ system-level motion preferences, and apply CSS styles that respect that.

Media 125
article thumbnail

The State Of Mobile And Why Mobile Web Testing Matters

Smashing Magazine

Testing the Smashing Magazine website on different devices. If you need something slightly more advanced, LambdaTest allows you to run a cross-browser test on 2000+ devices on different operating systems with which you can even perform both manual and automated browser testing. LT Browser in action. Large preview ).

Mobile 134
article thumbnail

Implementing Infinite Scroll And Image Lazy Loading In React

Smashing Magazine

You can find the installation instructions for your specific operating system here. and enter the following code. state, fetching: action.fetching } default: return state; } } const [imgData, imgDispatch] = useReducer(imgReducer,{ images:[], fetching: true}) // next code block goes here }. Open up src/App.js

Code 124
article thumbnail

How To Build Your Own Mouseless Development Environment

Smashing Magazine

More precisely, we’ll discuss: Why using the Linux shell can be very powerful when working with plain text (including code); Why using the dreaded Arch Linux; The advantage of a tiling window manager; How to have a great terminal experience with URxvt, tmux, and tmuxp; Why Vim can become your best friend. Managing Your Windows With i3.