Skip to content

Instantly share code, notes, and snippets.

Working from home

ReSampled pointofpresence

Working from home
View GitHub Profile
pointofpresence / detect-unused-css-selectors.js
Created Apr 29, 2020 — forked from victor-homyakov/detect-unused-css-selectors.js
Detect unused CSS selectors. Show possible CSS duplicates. Monitor realtime CSS usage.
View detect-unused-css-selectors.js
/* eslint-disable no-var,no-console */
// detect unused CSS selectors
(function() {
var parsedRules = parseCssRules();
console.log('Parsed CSS rules:', parsedRules);
var selectorsToTrack = getSelectorsToTrack(parsedRules);
window.selectorStats = { unused: [], added: [], removed: [] };
console.log('Tracking style usage (inspect window.selectorStats for details)...');
pointofpresence / filter.svg
Created Feb 26, 2020 — forked from subzey/filter.svg
SVG retrowave filter
View filter.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.