
div {
    padding: 10px;
}

div p:nth-child(even){
    color: green;
}
div p:nth-child(odd){
    color: gray;
}
div p:first-child {
    color: red;
    /*premier enfant après 
    les enfants impairs*/
}
div p:last-child {
    color: cornflowerblue;
}
div p:nth-child(6){
    color: brown;
}
div p:only-child {
    color: blue;
}
span {
    font-size: 25px;
    font-weight: 600;
    background-color: #ffff008e;
}
img {
    right: 0px;
    top: 0px;
    position: absolute;
}
