I am currently working on a project to create a responsive webpage that involves clicking on a circle in the middle of the screen and having a div enlarge from the circle to the top left corner of the webpage. To achieve this effect, it seems like I would need to use a negative height value. I have spent considerable time searching online for a solution to this challenge, but so far have not been able to find one even though it seems like a common issue...
While the following code snippet is not operational, it gives an idea of what I am trying to accomplish:
$(".corner").click(function(){
$(this).animate({width: '-400px', height: '-400px'}, 1000);
});