avatarRajdeep Singh

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

638

Abstract

I shall embrace my wraith lest my soul quiver. I have no voice: you slit my throat. I have no vision: you slashed my eyes. I have no touch: you abscised my limbs. Blind was I for your blindness and deaf for your deafness. God’s consort were you: entrenched in delirium and heedless to my pleas of reconciliation. My veins were your map of victimhood, and my heart, your confessional; yet I was the fatality in this cataclysm — nay, abomination — we christened <i>love</i>. I bore witness to your plummet into the fathomless bowels of disillusionment. Akin to my dismembered corpse are your otherworldly predilections; your reason is the m

Options

outhpiece for your nonage. A beast of burden have I become, unbeknownst to me: my reality that none can gainsay. I died. You killed me. We killed us, and our laurels have withered. An enchantress are you, a necromancer; may your mana never call to my spirit, for in my demise is your contentment — rife with fancy. Caustically will I grin at your obtuseness. Gods, too, die; veins, too, dissever. Thus, I say unto you: awaken from your reverie. Look upon the rose and cypress and aster and iris; watch them solely as them. You pitiful woman. I gave you sight; yet you failed to see. Behold the future you have wrought.</p></article></body>

CSS

How to Find unused CSS on the website?

Check your unused css with the chrome dev tool.

In this post, I’m telling you to Find unused CSS using a Chrome dev tool with easy steps.

How to Find unused CSS on the website

What is Unused CSS?

The simple answer is that we delay that class in a CSS file, But never use it on an HTML File.

Example

Bootstrap frameworks come with dozens of CSS styles you probably don’t need in your Project.

Why should you remove unused CSS?

Your unused CSS increase the CSS file size. But conversely, the unused CSS file size decreases your web performance or Speed.

Secondly, Clean and orderly stylesheets are easier to delete and rewrite.

How to Find unused CSS?

Find Unused CSS in Chrome with Two Way

  1. Manually
  2. Run Command

Manually

  • Open Chrome DevTools
  • Click Three Dots On the Right Side
  • Click on the “More Tool” Find Coverage Tab option
  • Click On Reload Button
  • Select a CSS file from the Coverage tab, which will open the file up in the Sources tab.
  • Red Color CSS is Unused, and blue Color CSS is used in HTML files.

Run Command

  • Open Chrome DevTools.
  • Open the command menu with: cmd + shift + p
  • Type in “Coverage” and click on the “Show Coverage” option
  • Click On Reload Button.
  • Select a CSS file from the Coverage tab, which will open the file up in the Sources tab.
  • Red Color CSS is Unused, and blue Color CSS is used in HTML files.
Command Menu

How to Remove unused CSS?

Many Tools Find you online, Like UnusedCSS, PurgeCSS, and UnCSS. But My personal opinion never is used on small projects. Use on Large projects; take a backup of your Project, then use it.

Note

Never use Bootstrap. This all Npm tools UnusedCSS, PurgeCSS, and UnCSS. Make sure to Customize your Bootstrap, download it Locally and use it.

How to download the unused css coverage report?

First, select the CSS tab and then click the download icon button. Your unused css coverage report starts downloading; now you can share it with your friend, team and colleagues.

Read Bootstrap Customization Here

Read More on Medium

Reference

Conclusion

I hope you understand How to find unused CSS.

If there are any queries, mistakes, and Suggestions. Please, tell me in the comment box after we update our article.

Contact me

Thanks for Reading

CSS
Front End Developer
React
Angular
Vuejs
Recommended from ReadMedium