【CSS】テーブルの最後の行のborderを消す | さけブロ。♡主にディズニー、htmlやcssなどのメモも♡

さけブロ。♡主にディズニー、htmlやcssなどのメモも♡

自分用htmlやcssなどメモ&身内向け料理日記&ただのディズニーマニア。海外ディズニーが最近好きすぎてヤバイ。WDW、DLR、HKDL、DLP、アウラニ、SHDL訪問済。クルーズも参加済。

table最後の行のボーダーを消す方法。

.table tr:last-child td{ border-bottom:none; }

こんな感じに書けば消えるよ!!
すぐ分からなくて困ったので…

参考サイト
http://shirohata.net/replica/sample/table/03/