Trying ratio work in relation to the div