Color entire rows in a table without a border

前端 未结 4 1609
南方客
南方客 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 06:05

    Use border-spacing property and set it to 0 so that the gap is removed.

    table {
      border-spacing: 0;   
    }
    

    Demo:

    table {
      border-spacing: 0
    }
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

提交回复
热议问题