Skip to content

listing-2.9.html #13

@Dexter1996777

Description

@Dexter1996777

Hello everyone!
Could you help me please?:)

I've got a question: in the css part of listing-2.9.html, the "ul ul {font-size: 1em;}" stops the shrinking of font size caused by the "ul{ font-size: .8em; }". How does it work? How doest the browser understand that it should first set the font-size at 16px*0.8 then it should stop the diminishing of the font-size when it comes across the "ul ul {font-size: 1em;}"? How the repetition of the selector work in this code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions