Tag:Child Selector
-
CSS selects the method to add styles to all child elements
method: Take less as an example .lk-toolbar { .el-input { width: 169px; margin-right: 10px; } > * { margin-bottom: 20px; } } The above code successfully implements the margin bottom: 20px of all sub elements under. LK toolbar In this way, we can avoid listing all kinds of possible sub element types .lk-toolbar { .el-input […]