Remove remove-unused-css
article thumbnail

How To Implement Search Functionality In Your Nuxt App Using Algolia InstantSearch

Smashing Magazine

You’ll also require a basic understanding of the following in order to follow along smoothly: HTML, CSS & JavaScript, Vue.js , Nuxt.js , TailwindCSS. On design systems, CSS/JS and UX. TailwindCSS is a utility first CSS framework that provides us with custom classes we can use to style our app. More after jump! nuxt.config.js

Media 122
article thumbnail

How to Show Images on Click

CSS - Tricks

which removes it from the initial page load and that’s just great! Did I just show you an image in a blog post that insults the very concept of images? We can remove the src attribute of an <img> tag to hide an image. So removing that alt text is a no-go. Isn’t it… just so great?! It’s readable!

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

Handling Unused CSS In SASS To Improve Performance

Smashing Magazine

Handling Unused CSS In SASS To Improve Performance. Handling Unused CSS In SASS To Improve Performance. In modern front-end development, developers should aim to write CSS which is scalable and maintainable. So CSS class names such as: blog-right-column.latest_topics_list.job-vacancy-ad.

article thumbnail

Improving The Performance Of An Online Store (Case Study)

Smashing Magazine

On design systems, CSS/JS and smart interface design patterns. Many of them are covered in CSS-Tricks’ helpful overview , and Smashing Magazine offers a great PDF checklist. Let’s talk about resources, and not just CSS or JavaScript (which we will cover later). And we purged CSS directives that are no longer necessary.

article thumbnail

Front-End Performance Checklist 2021

Smashing Magazine

Delivery Optimizations Lazy loading, intersection observer, defer rendering and decoding, critical CSS, streaming, resource hints, layout shifts, service worker. Testing And Monitoring Auditing workflow, proxy browsers, 404 page, GDPR cookie consent prompts, performance diagnostics CSS, accessibility. Quick Wins.

article thumbnail

Search Engine Optimization Checklist (PDF)

Smashing Magazine

A great way to do this is to strip away CSS and look at pages in pure HTML. A blog post with relevant images, audio clips, and an embedded video is likely to be more engaging than a plain text blog post. Stagger CSS rollout. Unused CSS Finder by JitBit. This is the internet; you can do just about anything.

article thumbnail

Optimizing Web Performance: Understanding Waterfall Charts

Dotcom-Montior

The element’s extension can be HTML, CSS, GIF, etc. Consists convenient connections HTTP/HTTP2, HTTP authentication, execution of CSS or JavaScript, SSL connect time, is an important phase of the timeline. If there are too many JavaScript/CSS files that are less than 2kb. The user should inline or combines those CSS files.