0

why button goes out of div?look at bottom of the div. code is attached

https://code.sololearn.com/WdM5rRJ10qbz/?ref=app

2nd Mar 2021, 4:40 PM
Coder21
Coder21 - avatar
3 odpowiedzi
0
the button is inside the div, but both div and button are only filled with black ^^ change div css rule for background color and add some padding: background-color:limegreen; padding:1vmin;
2nd Mar 2021, 5:10 PM
visph
visph - avatar
0
visph look closely at the bottom of div,despite the fact that both div and button have the same height,button is longer.I will change color of button to make it easer to see the difference
2nd Mar 2021, 5:17 PM
Coder21
Coder21 - avatar
0
Coder18 that should be a browser/device specific bug so, because for me there's no doubt of correct alignment ;)
2nd Mar 2021, 5:19 PM
visph
visph - avatar