Untitled

mail@pastecode.io avatar
unknown
css
14 days ago
560 B
4
Indexable
Never
table {
    display: flex;
    align-items: center;
    justify-content: center;
    
}
td {
    border: solid 1px #000;
    border-style: none solid solid none;
    padding: 10px;
  }
  
  tr:first-child td:first-child { border-top-left-radius: 10px; }
  tr:first-child td:last-child { border-top-right-radius: 10px; }
  
  tr:last-child td:first-child { border-bottom-left-radius: 10px; }
  tr:last-child td:last-child { border-bottom-right-radius: 10px; }
  
  tr:first-child td { border-top-style: solid; }
  tr td:first-child { border-left-style: solid; }
Leave a Comment