body { margin: 20px; } table { border-collapse: collapse; } thead, tfoot { color: #fff; background-color: #427fef; } tbody > tr { border-top: 1px solid #c4dcf3; border-bottom: 1px solid #c4dcf3; } th, td { padding: 10px; } tbody > tr:nth-child(odd) { background-color: #eef7ff; } .box { width: 300px; height: 300px; background-color: tomato; border-radius: 4%; box-shadow: 10px 10px lightgrey; }