Home > Web Front-end > HTML Tutorial > Questions about position:relative; overflow:hidden_html/css_WEB-ITnose

Questions about position:relative; overflow:hidden_html/css_WEB-ITnose

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-24 12:17:03
Original
1445 people have browsed it





During production, we often encounter such a situation. Is there any way to position the inner layer relatively without setting the height of the outer layer?


Reply to the discussion (solution)

You can use relative percentages, as shown below, the height is relative to 50% of the outer layer



Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template