support border and position absolute for cross axis