@AdrianoEscarabote
Posted
Hello Mahin, how are you? I truly loved your project's outcome, however I have some advice that I hope you'll find useful:
To prevent the background image from breaking at higher resolutions, we can prevent this in two different ways:
-
Add a
background-repeat: repeat-x;
, the image will repeat on the horizontal axis, preventing it from breaking. -
Add a
background-size: 100% 50vmin;
, the50vmin
will set its height as the page target, and100%
will make it stretch on the horizontal axis.
Feel free to choose one of the two!
Instead of using "width" to specify an absolute width, use "max-width" to specify a maximum instead. By doing this, the content will behave much more amiably in smaller resolutions, making it easier to make the project responsive.
The remainder is excellent.
I hope it's useful. 👍
Marked as helpful
@boredmahin
Posted
@AdrianoEscarabote thanks man for your suggestion. I'm kinda newbie in coding. This kinda support will surely help a lot ✌