Image Cookie Clicker game | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Image Cookie Clicker game

Is there a way I can change the background of the image to what I want it to be? And how to get rid of that small line on the top of the cookie https://code.sololearn.com/WMCc8aOVtd0i/?ref=app

2nd Feb 2022, 3:05 AM
Junior
Junior - avatar
7 Answers
+ 1
background:transparent; border-color:transparent; Add these to button styles
2nd Feb 2022, 3:12 AM
NEZ
NEZ - avatar
0
What do you mean by styles can I use CSS? NEZ
2nd Feb 2022, 3:16 AM
Junior
Junior - avatar
0
I meant paste them to the CSS section for the button
2nd Feb 2022, 3:17 AM
NEZ
NEZ - avatar
0
Didnt work NEZ
2nd Feb 2022, 3:19 AM
Junior
Junior - avatar
0
I think the cookie was different earlier so I just gave them these styles and it worked but I think you have changed the picture of the cookie and the background of the cookie is not matching with the actual background color, so you can get back that cookie and let these styles there and it will work (you will only see the cookie and nothing else) I am answering for that small line on the top of the cookie you asked
2nd Feb 2022, 3:24 AM
NEZ
NEZ - avatar
0
Yea sorry forgot to save i meant for this cookie to be different
2nd Feb 2022, 3:25 AM
Junior
Junior - avatar