Skip to main content
Main Content

Den CSS Cave-Tables Rounded Edges // Done

Den CSS Cave-Tables Rounded Edges // Done
Posted 2020-10-04 06:56:53 (edited)

Hi guys!

I just can't figure out how to get (especially) the Unsorted-Cave rounded on the bottom-edges in my Den-CSS all the time. 


Whenever there's two wolves in it, it's fine and rounded. So obviously some part of my code is rounding table-bottoms, but only when it's a certain kind of row/color.

I don't mind that it isn't round when it's completely empty, but that it isn't round when there's one wolf (or a specific odd number of wolves) does bother me.

It also doesn't work for other caves whenever the lighter color is the last one, but I personally don't see it because I have the following view where it looks fine so it doesn't bother me as much as the Unsorted-Cave:

I might just oversee a line of code or something... so if anyone has any idea or wants to check through my code, please help! This is driving me crazy qwq


SchoKi 🍫
#4472

Posted 2020-10-04 08:10:56 (edited)

I finally figured it out. Tables 0, SchoKi 1! Haha! 

I added this piece of code, which fixed it for me, in case someone might be suffering of non-rounded corners as well :D

table tr:last-child td:last-child {border-bottom-right-radius:20px;}
table tr:last-child td:first-child {border-bottom-left-radius:20px;}

SchoKi 🍫
#4472

Search Topic