I have a question about the position attribute, looks the <div class='bloqued'></div>, I need to get the same size as the parent div in any circumstance (including resizing the page), Is it possible? Thanks.
I have a question about the position attribute, looks the <div class=’bloqued’></div> , I
Share
make the position of your parent container
relative, like so:This sets the width and height limits for your absolutely-positioned
bloqueddiv insideI updated your original script to illustrate.