html,body{ width: 100%; height: 100%; margin: 0; padding: 0; background: black; overflow: hidden; font-family: Helvetica, arial, sans-serif; } .form{ position: fixed; left: 10px; top: 10px; color: white; border: 1px solid white; padding: 10px; display: none; } .form button{background: black;color: white;width:100%;} .form.visible{display: block;} .form p:first-child{margin-top: 0;} button, input{width: 100px;float: right;} p{margin: 15px 0;text-align: left;clear: both;} label{margin-right: 15px;} #tip{position: absolute;bottom:0px;left:10px;color: white;}