---
title: "Css3全屏背景"
author: "ITCheng"
date: "2012-07-11T15:54:30Z"
tags: []
categories: ["Web前端"]
slug: "css3"
draft: false
lastmod: "2012-07-11T15:54:17Z"
id: 1585116
url: "https://itcheng.iteye.com/blog/1585116"
---

```
html{
 background:url('mu.jpg') center center;
 min-height:100%;
 background-size:cover;
}
body{
 min-height:100%;
}
```