<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
body{
background-image: url("ocean.jpg");
background-repeat: no-repeat;
background-size:cover;
background-position: center;
color: #ffffff;
}
</style>
</head>
<body>
<h1>CSS background-position Property</h1>
<p>CSS background-position to 'center'</p> </body>
</html>