JSFiddle - React, Tailwind, and code Playground

by luizz

JavaScript

var styleSheetList = document.styleSheets;

var cssW = [];

for (var css in styleSheetList) {
    
    if (styleSheetList[css] && styleSheetList[css].hasOwnProperty('cssRules')) {
        
        var rule = styleSheetList[css].cssRules;
        
        if(rule && rule.hasOwnProperty('style')){
            
        }
    }
}