HTML CSS examples for CSS Form:input submit
Click through positioned div with z-index with submit button underneath
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #outer {<!--from w ww . j a v a2s.c o m--> position:fixed; top:50px; left:0; right:0; z-index:50; display:inline-block; opacity:.75; pointer-events:none; } #inner { margin:auto; width:500px; background-color:#90C553; border:1px solid #CCC; text-align:center; } h3 { font-size:17px; color:#0072A7; padding:10px 15px; } </style> </head> <body> <p> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in <input type="submit" onclick="console.log('foo');return false;"> velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </p> <div id="outer"> <div id="inner"> <h3>example</h3> </div> </div> </body> </html>