Skip to content

jckdm/CSS-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS parser

$ python3 main.py
Do you have more than 1 .css file? (yes/no):
Path to directory / Path to .css file:

Do you have more than 1 .html file? (yes/no):
Path to directory / Path to .html file:

Identified [ ] unique classes and [ ] unique IDs.

Unused class:  [    ] : file1.css, line 00
Unused ID:     [    ] : file2.css, line 000
  1. prompts user for path to/filename of singular or multiple .css file(s)
  2. prompts user for path to/filename of singular or multiple .html file(s)
  3. parses files
  4. prints unused classes and IDs, corresponding files and line numbers

About

Tool that identifies, removes, and/or defines unused classes and IDs in CSS

Topics

Resources

Stars

Watchers

Forks

Languages