Color entire rows in a table without a border

前端 未结 4 1582
南方客
南方客 2021-01-18 05:09

is it possible to color entire rows in an html table without being a \"break\" or gap for the border?

So far I have this table:

4条回答
  •  轮回少年
    2021-01-18 05:46

    Sure, add a border-collapse rule:

    table {
        border-collapse:collapse;
    }
    

    jsFiddle example

    table {
        border-collapse:collapse;
    }
Nombre blog Autora Idioma
The Blonde Salad Chiara Ferragni Italiano
The Pioneer Woman Ree Drummond Inglés
La Tartine Gourmande Béatrice Peltre Francés
Objetivo Cupcake Perfecto Alma Obregón Español

提交回复
热议问题