Hello everyone, I want to move the text a little lower to 3 and 4 with the help of nth-child, so as not to prescribe a class, which is not working, enlighten.
.how_pay { .item { text-align: center; position: relative; display: block; margin: 10px 0; a { position: absolute; display: block; width: 120px; bottom: 50px; left: 50px; font-size: rem-calc(15); color: $t-gray; font-weight: bolder; line-height: 1.1; transition: all .25s ease; &:hover { color: #008932;} } } .item { &:nth-child(3) a, &:nth-child(4) a { bottom: 40px; } } } 