Weight of cascading style sheets
The priority of inline style, ID style, category style, label style, and generic style in style sheets is as follows:
! Word-wrap: break-word! Important (word-wrap: break-word! Important)> ) >ID selector (ID #…) > Class selector (class) > tag selector (div, P, SPAN…) > Universal selector (*)
The weights are: infinity > 1000 > 100 > 10 > 1 > 0
Flex layout display: flex; Flex-wrap :nowrap(no line break); | wrap (wrap); Wrap -reverse flex: Value: 0 by default, 1 auto. The flex attribute is short for flex-grow, flex-shrink, and flex-basis. It is used to define the size, size, and width of a project.
This property has two shortcut keys: auto(1 1 auto) equal zoom in and out, and None (0 0 auto) no zoom in and out