optimize css border properties