CSS set starting position background image css - Net-Raft.com

Welcome aboard! We are happy you are here and wish you good net-raft!




Just a Web Code Solution
join us

How to set the starting position of a background image using css ?


 569

Show ResultCSS


1

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

<style>
body {
background-image: url('https://net-raft.com/Images/logo.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
}
</style>

</head>
<body>

</body>
</html>


By        
The power of the user (%)
17%



The most helpful CSS solutions

How to set bootstrap popover borders in css ?How to set bootstrap popover borders in css ?CSS

Click to see more ...

  1.2K     91

animate using cssanimate using cssCSS

Click to see more ...

  1.1K     83

How to create a cylinder using css ?How to create a cylinder using css ?CSS

Click to see more ...

  1.4K     79

How set border bottom using css ?How set border bottom using css ?CSS

Click to see more ...

  1.1K     69

How to set the starting position of a background image using css ?How to set the starting position of a background image using css ?CSS

Click to see more ...

  569     48

center a fixed element on the pagecenter a fixed element on the pageCSS

Click to see more ...

  706     48

css style browser scrollbarcss style browser scrollbarCSS

Click to see more ...

  458     39

How to overline text using css ?How to overline text using css ?CSS

Click to see more ...

  234     32

How to underline text using css ?How to underline text using css ?CSS

Click to see more ...

  255     26

How to set the cursor pointer of an element using css ?How to set the cursor pointer of an element using css ?CSS

Click to see more ...

  261     26

Welcome aboard!
We are happy you are here and
wish you good net-raft!