Skip to content

CSS存档 #21

@yihong0618

Description

@yihong0618
  1. .xxx>li。>是子代选择符,它表示的是选择.xxx的子代li
  2. @media 如果文档宽度小于 300 像素则修改背景颜色(background-color):
 @media screen and (max-width: 300px) {
    body {
        background-color:lightblue;
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions