@Alister153
Submitted
@Alister153
@Alister153
Submitted
@Alister153
Posted
Haven't designed it for small devices..
@JpJonker
Submitted
Any feedback would be appreciated, ( I have a question, I add a border radius on the dice image, for some reason the image and the border became a circle. The goal was that the border would be a circle, but not the image. I would appreciate a explaination of why this happend. Thank you very much )
@Alister153
Posted
It's cause u added border-radius to the image itself..
#generate-dice { position: absolute; bottom: -1.75rem; background: hsl(150, 100%, 66%); padding: 1rem; border-radius: 100%; }
You could've enclosed the dice in a tag and then add border radius to that tag or maybe just add a div and use the image as a background image for that div like this..
.next-btn{ background-position: center; background-image: url(./images/icon-dice.svg); background-repeat: no-repeat; }
Marked as helpful