Open BSravanthi opened 5 years ago
When using a rule like the one bellow you should check if it has a shorthand property and if possible use it, it will shrink your file and speedup your page load time and it will even make your CSS more readable and simple.
Ex:
.foo { margin-top: 10px; margin-right: 20px; margin-bottom: 10px; margin-left: 20px; }
Please refer to the following link to fix similar issues. https://app.codacy.com/app/BSravanthi/digital-logic-design-iiith/issues?&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W251bGxdfSx7ImlkIjoiQ2F0ZWdvcnkiLCJ2YWx1ZXMiOlsiUGVyZm9ybWFuY2UiXX0seyJpZCI6IkxldmVsIiwidmFsdWVzIjpbbnVsbF19LHsiaWQiOiJQYXR0ZXJuIiwidmFsdWVzIjpbNTZdfSx7InZhbHVlcyI6W119XQ==
Commit id: b54a47f-style.css Commit id: 99f055a-style1.css
Valid fix @DevikaBoddu
valid fix @DevikaBoddu
Valid Fix @DevikaBoddu
When using a rule like the one bellow you should check if it has a shorthand property and if possible use it, it will shrink your file and speedup your page load time and it will even make your CSS more readable and simple.
Ex:
Please refer to the following link to fix similar issues. https://app.codacy.com/app/BSravanthi/digital-logic-design-iiith/issues?&filters=W3siaWQiOiJMYW5ndWFnZSIsInZhbHVlcyI6W251bGxdfSx7ImlkIjoiQ2F0ZWdvcnkiLCJ2YWx1ZXMiOlsiUGVyZm9ybWFuY2UiXX0seyJpZCI6IkxldmVsIiwidmFsdWVzIjpbbnVsbF19LHsiaWQiOiJQYXR0ZXJuIiwidmFsdWVzIjpbNTZdfSx7InZhbHVlcyI6W119XQ==