In the book "CSS the definitive guide" , Chapter 3 which is about "The Cascade" , the book says:
There are three origins: author, reader and user agent. Under normal circumstances, the author's styles win out over the reader's styles. !important reader's styles are stronger than any other styles, including !important author styles. Both author and reader styles override the user agent's default styles.
I got two questions to ask:
In CSS, What are author's style , reader's style and agent's style?? I really get confused about there three concepts.
According to the above words from the book, seems author's style is stronger than reader's style, but why with
!important
indicator, the reader's style is stronger than author's style?? I get confused about this.
There's another terminology for this: author, user and user-agent styles