Create a new image that is shifted horizontally so you have rectangle pattern. I created image but it is not as good as it can be because I do not have original.you can use it.
Your new image is here
div {
background: url(https://jassweb.com/solved/wp-content/uploads/2023/03/Solved-HTML-or-CSS-code-to-repeat-properly-skew-pattern.png);
}
<div style=width:1000px;height:1000px></div>
Instructions to create the image
I use program GIMP (http://gimp.org/). It is free.
- Remove white area (make it transparent) using Fuzzy Select Tool and Delete key. If transparency is not enabled, right-click the layer and enable it.
- Duplicate the image (Ctrl-C, then Ctrl-V)
- Move it using Move horizontally so there is no transparent area between the two copies.
- Press Ctrl-H (anchor the floating layer)
- Right-click the top layer and Merge Down
- Crop the image (Image→Autocrop Image)
- Crop it to the center (Image→Canvas size…), set width 264 (width of one “block”) and then click Center button
- Manually remove white pixels
- Export it as PNG (in File menu)
- Use it
5
solved HTML or CSS code to repeat properly skew pattern [closed]