CSS is a language that is not difficult to master, but if you use it for a large project, it can be very difficult to manage if you do not follow a defined approach while writing CSS code. Here are few tips that will help you write better and easy to manage CSS code. 1. Don’t Use Global Reset Using global reset to remove default margin and padding from all HTML elements is a strict no-no. Not only it is slow and inefficient way but you’ll have to define margin and padding for each element that needs it. Instead use subset of CSS Resets like one from Eric Meyer . Not Good view plain copy to clipboard print ? *{ margin :0; padding :0; } Better view plain copy to clipboard print ? html, body, div, dl, dt, dd, ul, h1, h2, h3, pre , form, label, fieldset, input, p, blockquote, th, td { margin :0; padding :0 } table...
Basic understanding of some Information Technology