Tuesday, October 20, 2015

Count number of selectors in a css file

IE9 allows only 4095 css selectors, hence we need to know number of css selectors in a file

http://stackoverflow.com/questions/5228459/count-number-of-selectors-in-a-css-file

Also, there are some very good tools like Dust-Me Data (firefox) or CSS Remove and Combine (Chrome) which give a statistics about number of used and unused selectors.


No comments:

Regex Email validation in c# dot net core

 Use this regex /^_?[a-zA-Z0-9]([a-zA-Z0-9]*[._+-])*[a-zA-Z0-9_]+@(?!-)[A-Za-z0-9-]{1,63}(?<!-)(\.(?!-)[A-Za-z0-9-]{1,63}(?<!-))*\.[A-...