sajad torkamani

Authoritative references

Browsers ship default styles for many HTML elements like h1, input, p, and so on. You can find these default styles here:

You can confirm that the above references show the correct default styles by using your browser’s DevTools. For example, in Chrome, default browser styles have the greyed out user agent stylesheet next to them:

Find browser's default CSS rules

Web UI to search styles

There’s also browserdefaultstyles.com that provides a web UI for searching those styles. This project seems to collect all the styles from the different browsers in one file and query that file from the web UI. I’m not sure how up to date its data is. Can look into it when I have more time.

Sources

Tagged: CSS