filmov
tv
UnCSS your CSS! Removing Unused CSS with PostCSS & Parcel

Показать описание
-- Last week I released a video discussing Bootstrap. In this video, I mentioned I used PurgeCSS to remove unwanted CSS, which resulted in a drastically smaller file size. Today, we're going to use a similar tool called UnCSS with the help of PostCSS to do just that.
PostCSS allows you to chain together a number of CSS tools.
You can use PostCSS in a number of environments, and for this one, we're going to use Parcel (You can also use Gulp, Grunt, Webpack, etc..).
Uncss comes with a plugin that allows it to work with PostCSS, which is what we'll use. Uncss simply compares your HTML against your CSS, and removes any unused CSS rulesets.
Project files:
Let's get started!
- - - - - - - - - - - - - - - - - - - - - -
Subscribe for NEW VIDEOS!
^-Chat with me and others
- - - - - - - - - - - - - - - - - - - - - -
Come to my discord server or add me on social media and say Hi!
PostCSS allows you to chain together a number of CSS tools.
You can use PostCSS in a number of environments, and for this one, we're going to use Parcel (You can also use Gulp, Grunt, Webpack, etc..).
Uncss comes with a plugin that allows it to work with PostCSS, which is what we'll use. Uncss simply compares your HTML against your CSS, and removes any unused CSS rulesets.
Project files:
Let's get started!
- - - - - - - - - - - - - - - - - - - - - -
Subscribe for NEW VIDEOS!
^-Chat with me and others
- - - - - - - - - - - - - - - - - - - - - -
Come to my discord server or add me on social media and say Hi!
UnCSS your CSS! Removing Unused CSS with PostCSS & Parcel
How to remove unused styles from your CSS to speed up your website
How to Scan and Remove Unused CSS Properties | PurgeCSS Tutorial
CSS : How to remove unused CSS using webpack 4?
HTML : Removing unused CSS from website code
😎 Cool Tools Tuesday #7 - Unused CSS: Eliminate unneeded CSS, reduce file size & speed up your s...
purifyCSS - Remove unused CSS. Also works with single-page apps
In 6 minutes, Grunt uncss to drastically reduce the size of CSS files
3 Libraries to Remove Unused CSS
CSS : Can angular-cli remove unused css?
Complete guide on removing unused CSS & JS - Speed up your website easier and faster [2021]
How to Remove Unused CSS code from Joomla Web Pages - 👀 WMW 109
10 How to Strip Unused CSS
How to Remove Redundant CSS : CSS Tips & More
Velocity Europe Conference 2013, Addy Osmani: Lightning Demo: Automating The Removal Of Unused CSS
Unused CSS code: identification and clean up, Anton Kholkin [CSS-Minsk-JS 2018]
HTML5DevConf May 2014: Xavier Damman, Storify: Automatically remove unused CSS rules
How To Automatically remove dirty/unused CSS using Grunt
Reduce unused CSS and Javascript Wordpress ~ don't bother on your affiliate marketing sites!
How to Remove Unused CSS Tailwind Optimization the Complete Guide
How to use PurgeCSS to Remove Unused CSS Classes from Tailwind CSS
Unused CSS MediaQuery still ok
How to Find and Remove Dead CSS
How to use PurgeCSS to Remove Unused CSS Classes from Tailwind CSS, Bootstrap, and more!
Комментарии