<div>
  <a href="">bir</a>
  <a href="">iki</a>
  <a href="">üç</a>
</div>
div
  display: flex
  
  a
    width: 220px
    height: 50px
    background-color: gray
    margin-right: 20px
    font-size: 24px
    color: white
    text-align: center
    transition: .5s all
    text-decoration: none
    
    &:hover
      height: 100px
    
      ~ *
        height: 40px !important
    
    &:nth-child(1)
      order: 3
    
    &:nth-child(2)
      order: 2

    &:nth-child(3)
      order: 1
      height: 100px
View Compiled
Rerun