zoukankan      html  css  js  c++  java
  • diogo谈框,仿prompt()方法布局

    展示效果:

      

    <!DOCTYPE html>
    <html lang="en">
    <head>
    	<meta charset="UTF-8">
    	<title>diogo</title>
    	<style>
    		*{margin: 0;padding: 0;}
    		.costPwd{  450px;height: 200px;border-radius: 10px; border: 1px solid #3385FF;position: fixed;top:50%;left:50%;margin-left: -225px; margin-top: -100px; background: #fff; z-index: 2;}
    		.costPwd span{position: absolute;top:0;right: 0;  30px;height: 30px; display: block; text-align: center; font-size: 20px; font-weight: bold;cursor:pointer; color: red;}
    		.writePwd{margin-left: 80px; padding-right: 20px; }
    		.costPwd input{  200px; }
    		.writePwd,.costPwd input{height: 30px; line-height: 30px; margin-top: 50px;}
    		.costPwd a{ display: inline-block;  70px;height: 30px; background: #3385FF; border-radius: 10px;position: absolute; top: 120px; margin-left: 100px; text-align: center; line-height: 30px; color: #fff; text-decoration: none;}
    		.tureBtn{left:10px;}
    		.falseBtn{ left: 150px;}
    		.bodyShowbg{  100%;height:100%; background: #ccc;position: fixed;top: 0;left: 0;z-index: 1;opacity: 0.9;}
    	</style>
    </head>
    <body>
    	<div class="costPwd">
    		<span>x</span>
    		<lable class="writePwd">输入密码:</lable><input type="text">
    		<div>
    			<a href="" class="tureBtn">确定</a>
    			<a href="" class="falseBtn">取消</a>
    		</div>
    	</div>
    	<div class="bodyShowbg"></div>
    </body>
    </html>
    
  • 相关阅读:
    Linux添加系统环境变量
    keras 或 tensorflow 调用GPU报错:Blas GEMM launch failed
    python 安装虚拟环境
    Seq2Seq 到 Attention的演变
    聊天内容处理笔记
    LSTM 详解
    keras 打印模型图
    zip 的对象是不能用索引去取的
    c# 反射获取属性值 TypeUtils
    .iml文件恢复
  • 原文地址:https://www.cnblogs.com/rainheader/p/4582622.html
Copyright © 2011-2022 走看看