table#sinine{
    border: 1px solid blue;
    width: 30%;
    height: 200px;
}
table#sinine td{
    border: 1px solid blue;
    text-align: center;
}
table#punane{
    border: 1px solid red;
    width: 40%;
    height: 200px;
    border-collapse: collapse;
}
table#punane td{
    border: 1px solid red;
    text-align: center;
}

table#roheline{
    border: 1px solid green;
    width: 20%;
    height: 100px;
    border-collapse: collapse;
}
table#roheline td{
    border: 1px solid green;
    text-align: center;
}
/*pseudoelementide kautamine*/
/*1.rida 1.lahter*/
#sinine tr:nth-child(1) td:nth-child(1){
    background-color: red;
}
/*1.rida 2.lahter*/
#sinine tr:nth-child(1) td:nth-child(2){
    background-color: yellow;
}
/*2.rida */
#sinine  tr:nth-child(2){
    background-color: grey;
}


#pink {
    border-collapse: separate;
    border-spacing: 2px;
    width: 600px;
    font-family: Arial, sans-serif;
    text-align: center;
}

#pink td {
    height: 50px;
    font-weight: bold;
    color: black;
}


#pink tr:nth-child(1) td:nth-child(1) {
    background-color: #1e7311;
    width: 25%;
}

#pink tr:nth-child(1) td:nth-child(2) {
    background-color: yellow;
}



#pink tr:nth-child(2) td:nth-child(1) {
    background-color: red;
}

#pink tr:nth-child(2) td:nth-child(2) {
    background-color: red;
}


#pink tr:nth-child(3) td:nth-child(1) {
    background-color: blue;
}

#pink tr:nth-child(3) td:nth-child(2) {
    background-color: blue;
}

#pink tr:nth-child(3) td:nth-child(3) {
    background-color: lightgreen;
}


#pink tr:nth-child(4) td:nth-child(1) {
    background-color: purple;
}

#pink tr:nth-child(4) td:nth-child(2) {
    background-color: purple;
}


#isesesev {
    border-collapse: collapse;
}

#isesesev td {
    border: 1px solid black;
    width: 150px;
    height: 100px;
    text-align: center;
    vertical-align: middle;
}