Home > Web Front-end > HTML Tutorial > How to make two pictures overlap? _html/css_WEB-ITnose

How to make two pictures overlap? _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:25:25
Original
3386 people have browsed it

It is required that two pictures overlap. The upper picture is a square implemented with CSS. I want its lower left corner to coincide with the lower left corner of the lower picture, and the side length is equal to the shorter side of the lower picture. How to achieve this? ?


Reply to the discussion (solution)

There is a z-index attribute in css

bingo, just use that z-index attribute

source:php.cn
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