How to create Css background pattern?

2924 views html
5

How i create background like this. using CSS and HTML

enter image description here

answered question

2 Answers

10

  1. Create an svg and use it as background image;
  2. Create the shapes with html/css, cutting corners (check CodePen or Google: creating shapes with html/css).

https://developer.mozilla.org/en-US/docs/Web/CSS/background

posted this
13

The answer is Simple, extremely simple:`enter code here`

<!DOCTYPE html>
<html>
<head>
    <title>Background</title>
    <style type="text/css">
    *{
        margin: 0px;
        background:url("image-name.png/jpg");
    }

    </style>
</head>
<body>

</body>
</html>

posted this

Have an answer?

JD

Please login first before posting an answer.