Category Archives: CSS

Collection of css lessons, css topics, css exercises, css tutorials, css demos, css examples, css interview questions, css problems, css issues, css frameworks, css books, css tools, css resources

CSS coding standards and best practices for beginners

Here is a list of CSS coding standards and best practices for beginners as well as for any CSS developer.

CSS  coding standards and best practices for beginners – Plan, plan and plan

Well it is said that programming is 90% planning.
Once you have a good plan, execution is pretty simple.
Before you start working on any project, interface, screen or element.

  • Take a deep breathe
  • Review all the designs/screens, try to find similar patterns.
  • Ask questions, how many browsers and devices we are targeting.
  • How many elements are dynamically generated, consider accessibility and scalability.
  • Once you have all the answers, Write your markup first and make sure your page is accessible and makes sense without css.
  • Do the magic with css.

Continue reading