CSS: What's Computed Style?

By Xah Lee. Date: . Last updated: .

A computed style, is all the style that applies to the element, even if there's no CSS specified for that element.

For example, the color or font used on a element. The element itself may not have a CSS spec. But it may inherit styles from parent element, or from browser.

How to Find the Computed Style

Use browser's web dev tool to find computed style of an element.

Firefox web dev tool 2013-07-10
Firefox web dev tool.

[see JS: How to Use Browser Console]

Liket it? Put $5 at patreon.

Or, Buy JavaScript in Depth

If you have a question, put $5 at patreon and message me.