Remove Availability Remove Code Remove Magazine Remove Strategy
article thumbnail

CSS Container Queries: Use-Cases And Migration Strategies

Smashing Magazine

CSS Container Queries: Use-Cases And Migration Strategies. CSS Container Queries: Use-Cases And Migration Strategies. In the worst-case scenario, this variation would be added with style override which would lead to code duplication and specificity issues.product-card { /* Default card style */ }.product-card--narrow

Strategy 126
article thumbnail

How To Optimize Progressive Web Apps: Going Beyond The Basics

Smashing Magazine

You can find a comprehensive Beginner’s Guide To Progressive Web Apps on Smashing Magazine that focuses on building the core of PWAs. You’ll also find example code or references to more specific guides so you can implement these tips to your PWA. Skeleton screen examples on Code My UI. Large preview ). Large preview ).

Cache 123
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

Creating A Magento PWA: Customizing Themes vs. Coding From Scratch

Smashing Magazine

Creating A Magento PWA: Customizing Themes vs. Coding From Scratch. Creating A Magento PWA: Customizing Themes vs. Coding From Scratch. One of the reasons for that is because a PWA has the same code base. So unlike the case with native applications, the progressive web app needs to be coded only once. Alex Husar.

Code 74
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. This has the nice effect of making them directly available to the browser when the document loads, but obviously the browser cannot cache them for the whole website. But even in the planning phases, traps await.

article thumbnail

Inspired Design Decisions With Bradbury Thompson: The Art Of Graphic Design

Smashing Magazine

I became fascinated by the ways magazine art directors including Alexey Brodovitch and Bea Feitler brought images and text together. From early on, he was inspired by print designs, especially magazines, and used this influence to design the college’s yearbooks. Thompson studied at Washburn College in his home city of Topeka.

Design 119
article thumbnail

Signals For Customizing Website User Experience

Smashing Magazine

That user preference is available in two (hopefully soon to be three!) This is available behind a flag in Chrome, but not yet on by default while it finishes standardization. Approximately two-thirds of Indian mobile Chrome users of Smashing Magazine have this setting turned on, for example. Save Data API. And Is It Used?

Website 103
article thumbnail

Next.js Wildcard Subdomains

Smashing Magazine

In code, that looks like this: export async function getServerSideProps(context) { let wildcard = context.req.headers.host.split(".")[0]; Here’s how that code looks like: // useEffect and useState must be imported from 'react' const [wildcard, setWildcard] = useState("") useEffect(() => { setWildcard(window.location.hostname.split(".")[0])

Servers 83