virtual-labs-archive / digital-logic-design-iiith

Other
3 stars 61 forks source link

The properties padding-top, padding-bottom, padding-left, padding-right can be replaced by padding. #111

Open BSravanthi opened 5 years ago

BSravanthi commented 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==

DevikaBoddu commented 5 years ago

Commit id: b54a47f-style.css Commit id: 99f055a-style1.css

DasariVarshitha commented 5 years ago

Valid fix @DevikaBoddu

AksharaMayreddy commented 5 years ago

valid fix @DevikaBoddu

ShivaniKomandury commented 5 years ago

Valid Fix @DevikaBoddu