带图标的input
来源:互联网 发布:openjdk8源码下载 编辑:程序博客网 时间:2024/05/14 19:36
带图标的input
我写的这段代码是一个登陆页,响应式且垂直居中
html代码
<div id="container"> <div> <div class="text"> <input class="loginInput" type="text" id="userName"/> </div> <div class="text"> <input class="loginInput" type="text" id="userPwd"/> </div> <div class="remberPwd"> <input type="checkbox" id="checkedPwd"/> <label for="checkedPwd"> 记住密码</label> </div> </div> </div>
css代码
#container{ width:100%;}#container>div{ width: 40%; height: 200px; margin:auto; position: absolute; top:0;left:0;right: 0;bottom: 0;}.text{ border:none; border-bottom:1px solid #ddd; width:100%; height:40px; background:url(../resource/account.png)no-repeat 0 center ;}.loginInput{ outline: none; float:left; border:none; background:none; height:40px; line-height:30px; width:100%; text-indent:32px;}.remberPwd{ width:100%; height:40px; line-height:40px;}
阅读全文
1 0
- 带图标的input
- 带图标的button
- 带图标的ListView
- 带icon图像的图标
- 带图标的list item
- 带图标的组合框
- 自定义带图标的Preferecnce
- MFC_CMenu_CIconMenu_带图标的菜单
- 实现带图标的ListView
- 带图标的列表对话框
- 实现带图标的ListView
- 兼容的带样式的INPUT
- 带图标的表格头的例子
- 使用Android自带的图标以及图标集合
- 带图标和自定义颜色的ListBox
- 带图标和自定义颜色的ListBox
- 自绘制带图标的菜单项
- 带图标的程序菜单(1--002)
- EasyCameraPro在直播过程中不发送START_STREAM_ACK响应的bug解决
- Hibernate 数据持久层操作类的总结
- Oracle之关于session和事务的全局临时表
- Machine Learning 学习 之 Kmeans 笔记
- 20171021学习笔记Selenium 2第四章WebDriver API 4.11警告处理4.14操作Cookie
- 带图标的input
- python时间操作
- ES分组聚合:计算每个tag下的商品数量且某个filed包含指定关键字,分组,平均,每个tags下的平均价格,排序,指定范围区间
- 记一次shell脚本入门编写
- RabbitMQ 网页端控制台开启方式
- iOS后台如何保持socket长连接和数据传输
- Centos安装Hadoop出错
- [Oracle 11g r2(11.2.0.4.0)]案例分析6-丢失磁盘心跳导致的集群重新配置
- 1.选题及计划,3天学会python