HelloMum / COMP47360-Smart-Tourist-Guide

GNU General Public License v2.0
2 stars 0 forks source link

Optimize CSS to Remove Unused Code #100

Closed HelloMum closed 3 months ago

HelloMum commented 3 months ago

Description The CSS file for the project contains approximately 30,000 lines of code, a significant portion of which is not utilized in the application. This leads to increased file size, slower load times, and potential performance issues. It's crucial to optimize the CSS by removing unused code to improve overall performance and maintainability.

Steps to Reproduce Analyze the current CSS file to determine the total size and identify unused styles. Use tools such as Chrome DevTools Coverage tool, or CSS analysis tools like PurifyCSS or UnusedCSS, to identify unused CSS selectors. Measure the impact of the unused CSS on load times and performance metrics.