Create Texture by Adding a Subtle Pattern as a Background Image
Relevant Links
Hints
Hint 1
- Your code should include
background
property inside the body selector.
Hint 2
- You should use the
url()
function.
Hint 3
- Ensure the URL passed to the
url
function is:
https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png
Solutions
Solution 1 (Click to Show/Hide)
<style>
body {
background: url("https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png");
}
</style>