<html>
<head>
<style>
body {
background-image: url('w3css.gif');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center top;
}
</style>
</head>
<body>
<h1>The background-position Property</h1>
<p>Here, the background image will be positioned centered at top.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_background-position2 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:00:12 GMT -->
</html>