- The background-size property specifies the size of the background images.
Code:-
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
background-image: url("dymond.jpg");
/* contain,cover*/
background-size: 50px;
background-repeat: repeat;
}
</style>
</head>
<body>
</body>
</html>
Css:- Background size
Reviewed by Network security
on
May 13, 2019
Rating:
No comments: