2016-07-12 14 views
0

Ich habe versucht, dies zu tun, indem Sie eine Klasse namens No-Line erstellen. hat nicht funktioniert. wenn ich .no-line nehme, dann wird es keine Linien auf dem Tisch geben. Ich möchte nur bestimmte Zeilen aus einer bestimmten Zeile entfernen. wie kann ich das machen?Wie entferne ich bestimmte Tabellenzeilenzeilen im Bootstrap

.table thead > tr > th, 
     .table tbody > tr > th, 
     .table tfoot > tr > th, 
     .table thead > tr > td, 
     .table tbody > tr > td, 
     .table tfoot > tr > td.no-line { 
    border-top: none !important; 
    border-bottom: none !important; 
} 
+0

Versuchen Sie es mit ab: nth-child(), wenn Sie genau platzieren, welche Linien und welche Felder Sie wollen, ich könnte zeigen und sich zu verstecken versuchen, Ihnen eine komplette Antworten –

Antwort

0

drehte die Zeilen Zeilen

.table thead > tr > th, 
     .table tbody > tr > th, 
     .table tfoot > tr > th, 
     .table thead > tr > td, 
     .table tbody > tr > td, 
     .table tfoot > tr > td { 
    border-top: none !important; 
    border-bottom: none !important; 
} 

and then added by own lines with 
an <hr/> where I wanted lines with: 




    hr { 
    border: none !important; 
    height: 2px !important; 
    /* Set the hr color */ 
    color: #333 !important; /* old IE */ 
    background-color: #333 !important; /* Modern Browsers */ 
} 
Verwandte Themen