Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!doctype html> <title>Example</title> <style> div { height: 100px; width: 200px; border: 1px solid black; } .bottom { background-color: gold; z-index: 1; } .top { position: relative; top: -65px; left: 50px; background-color: lime; z-index: 2; opacity: 0.4; } </style> <div class="bottom"></div> <div class="top"></div>