CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Script to find unused CSS styles: Edit Log



mohan
User

Jul 17, 2016, 10:48 PM


Views: 14070
Script to find unused CSS styles

Hi Guys,

I have a set of CSS files and HTML files in my local drive and need to find certain styles in css (lets say "margin-top" is the style I want to find in the CSS).

If this is found then I want to find the class in which "margin-top" is declared. Lets say "margin" class has this style.

Then the class "margin" should be checked across all the HTML files to check whether it has been used at least once or not.

Then the result should be shown.

is there any script that you can run on your local machine to find this out? Any help is welcomed.

(This post was edited by mohan on Jul 28, 2016, 11:24 PM)


Edit Log:
Post edited by mohan (User) on Jul 28, 2016, 11:24 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives