- Can't replicate the background svg file to match the design. Used percentage, contain, cover on size, failed. Is the trick in the position of the svg file? I inserted 0% 0% position on top circle svg and 100% 100% on bottom circle svg.
r2
@r2yoAll comments
- @JetyunSubmitted about 2 years ago@r2yoPosted about 2 years ago
hi Jetyun, good work! I had the same problem I manage to fix by adding position absolute to my svg and working on % to fix it,
0 - @kkulekSubmitted about 2 years ago
I have a trouble with adding to my code responsive background for the desktop. I've tried a few things, but just can't position it well.
Little help would be much appreciated. Thanks!
@r2yoPosted about 2 years agohi Kulek, good work!
the problem is you add a image as background-image in the body , that means it will stretch with body's width, my solution is you can add an img tag inside the body but not in your container then add these styles into your img tag:
display: block; position: absolute; z-index: -1; top: 0; width: 100%;
Marked as helpful0 - @SindhujaBandaruSubmitted about 2 years ago
This is my 4th project but still i'm struggling to add images to different type of projects.In my browser it shows well but in some deployment apps it isn't showing the image.What should i do?Anyone please suggest me.
@r2yoPosted about 2 years agoyour repository doesn't have an images folder on it so your code can't find the photo you can use the method "add file -> upload file" on GitHub and then drag the images folder into it "not checkmark it"
but my suggestion is you learn to work with git commands and use this link as a reference
https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository
Marked as helpful0 - @satyammjhaSubmitted over 2 years ago
Please give me some valuable tips to further improve my code.
@r2yoPosted over 2 years ago<div id="productimage"> is not closed properly and it would help if you considered using the flexbox or grid method to align your image and text it's the basic way I usually useMarked as helpful0