how to put one div over another
<!DOCTYPE html>
<html lang="en">
<head>
<title>Web page</title>
</head>
<body>
<div id="overlay">
</div>
<div id="originalDiv">
</div>
</body>
<style>
#overlay {
width: 100px;
height: 100px;
background-color: red;
z-index: -1;
position:absolute;
top:50px;
left:50px;
}
#originalDiv {
width: 100px;
height: 100px;
background-color: blue;
z-index: 1;
position:absolute;
top:0px;
left:0px;
}
</style>
</html>
Also in HTML:
- background-color html
- how to make a signup page in html
- m3u8 ffmpeg download
- html remove hittest from element
- doctype html charset utf-8
- ionic grid
- decode HTML Entities react
- center header html
- how to add a paragraph in html
- convert object to array in js from html
- slide show in html
- modal lightning salesforce
- paragraph html
- html ul types
- set default value of a multiselect in html
- how to make a html login
- how to put an image in html
- excel vba largest value for Decimal data type
- how to include jquery in html
- marquee
- zoom inkcanvas
- html boilerplate vscode
- meta viewport
- how to add php to html