Remove articles font-best-practices
article thumbnail

Lesser-Known And Underused CSS Features In 2022

Smashing Magazine

After reading Louis Lazaris’ insightful article “ Those HTML Attributes You Never Use ”, I’ve asked myself ( and the community ) which properties and selectors are lesser-known or should be used more often. h2 { color: var(--color-primary); font-size: var(--font-size-large); line-height: 1.5; Adrian Bece. More after jump!

Media 140
article thumbnail

Don’t Sink Your Website With Third Parties

Smashing Magazine

These services use requests to external hosts (not servers you control) to deliver JavaScript framework libraries, custom fonts, advertising content, marketing analytics trackers, and more. Any resource (HTML, CSS, JavaScript, image, font, etc.) Can a fancy third-party custom font give your site a new look and feel? requests.

Website 131
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

Gone Floating Labels And Green Lighthouse Scores

Smashing Magazine

Ironically, at the moment of publishing that article in late February, we still had floating labels used in most of our forms, and we wanted to explore if removing them would actually help us improve the overall experience on the site. On February 19th, most of our articles landed in the red zone. Floating Labels Are Gone.

Mobile 140
article thumbnail

Global vs. Local Styling In Next.js

Smashing Magazine

and exercise best CSS practices. In this article, we’ll build a website (a tea shop!) There are a couple of questions we have to consider when organizing style within Next.js: How can we fit within the conventions/best practices of the framework? It’s best to make it an integral part of the site’s design DNA!

Website 142
article thumbnail

7 Fresh Links on Performance For March 2022

CSS - Tricks

I have a handful of good links to articles about performance that are burning a hole in my bookmarks folder, and wanna drop them here to share. From fonts to SVG: an icon migration strategy — Erwin Hofman notes that he was using icon fonts out of sheer convenience, but that there are loads of reasons not to use them.

article thumbnail

Front-End Performance Checklist 2021

Smashing Magazine

Is it expensive JavaScript, slow web font delivery, heavy images, or sluggish rendering? Assets Optimizations Brotli, AVIF, WebP, responsive images, AV1, adaptive media loding, video compression, web fonts, Google fonts. when web fonts aren’t loaded yet). Web performance is a tricky beast, isn’t it?

article thumbnail

Designing Better Links For Websites And Emails: A Guideline

Smashing Magazine

In this article, I’ll explain popular wording and formatting mistakes and will show more accessible and informative alternatives. What is hidden behind it: a page or file, an article or web form? However, they might become a non-fancy yet practical solution for copy-pasting. Fill in this form by the end of the day.

Website 141