首页htmlbackground_sizeCSS Property Value - 如何background-size:cover

CSS Property Value - 如何background-size:cover

我们想知道如何background-size:cover

<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
div {
  width: 100%;
  height: 560px;
}

.minhaClass {
  background: url(http://placehold.it/200x200) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
</style>
</head>
<body>
  <div class="minhaClass"></div>
</body>
</html>