ROCKY BARUA• 1,090
@Drougnov
Posted
Hello, @deadazix good job.
To set those patterns you can use pseudo-elements like before
, after
. Use this code:
body::before {
background: url(./images/bg-pattern-top.svg) no-repeat bottom right;
top: 0;
left: 0;
}
body::after {
background: url(./images/bg-pattern-bottom.svg) no-repeat top left;
top: 100%;
left: 100%;
}
And some other things:
- To make it accessible try not to use the
div
tag as much as you can. You can use themain
tag to the container. - Try to implement the design as accurately as possible. Such as using the font family, font size, etc. as they asked to use.
Happy coding and have a good day. ♥
Marked as helpful
1
arash• 280
@deadazix
Posted
hi @Drougnov thanks for feedback i didnt know we can set background this way! i mean setting position after url !
1