Examining the CSS

Generally, a very good practice in web development is to start your CSS design by resetting all of the default styles used by various web browsers. The main issue, and the reason why this is an important step, is that most popular web browsers (or, should I say, every single one of them) have their own default set of CSS styles. And, if you want your theme to look exactly the same in every browser, you have to start your work by resetting those styles, whatever they might actually be. The good thing about this is that you don't have to do it by hand. You can just use one of the reset scripts available on the internet. Keep in mind that every piece of code that's listed in this chapter is also available in the official code ...

Get WordPress 5 Complete - Seventh Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.