📜  css 颜色渐变背景全高 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:42.433000             🧑  作者: Mango

代码示例1
html {
    height: 100%;
}
body {
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}