CSS Property Value How to - background-position: 0 80px;








Question

We would like to know how to background-position: 0 80px;.

Answer


<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
body {<!--from www .j a v a2s  .com-->
  background-image:url('http://www.java2s.com/style/download.png');
  background-repeat: no-repeat;
  background-position: 0 80px;
}
</style>
</head>
<body>
</body>
</html>

The code above is rendered as follows: