css实现html页面输入框input的美化
2017-09-30 16:34
453 查看
css实现html页面输入框input的美化
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> <title>上传文件美化</title> </head> <style> .a-upload { padding: 4px 10px; height: 20px; line-height: 20px; position: relative; cursor: pointer; color: #888; background: #fff; border-radius: 4px; overflow: hidden; display: inline-block; *display: inline; *zoom: 1 } .a-upload input { position: absolute; font-size: 100px; right: 0; top: 0; opacity: 0; filter: alpha(opacity=0); cursor: pointer } .a-upload:hover { color: #444; } </style> <body> <a href="javascript:;" class="a-upload"> <input type="file" name="" id="">上传文件美化 </a> </body> </html>
相关文章推荐
- html页面输入框input的美化
- [Javascript]如何在HTML中实现点击input输入框(获得焦点)后默认提示消失的效果
- jQuery+css+html实现页面遮罩弹出框
- html+css+angularjs 实现商品库存信息管理页面 可删除/批量删除/可模糊查询/可升序降序
- 纯html+css+javascript实现楼层跳跃式的页面布局(实例代码)
- 问题:关于贴友的一个书本页面简单布局(html+css)的实现
- 任务九:使用HTML/CSS实现一个复杂页面
- 纯HTML和js:简单实现页面单个输入框自动切为双输入框
- 一个小型的网站,比如个人网站,可以使用最简单的html静态页面就实现了,配合一些图片达到美化效果,所有的页面均存放在一个目录下,这样的网站对系统架构、性能的要求都很简单,随着互联网业务的不断丰富,网站
- 关于贴友的一个书本页面简单布局(html+css)的实现
- js实现单一html页面两套css切换代码
- HTML + css 实现表白墙效果页面
- 为Html页面设置背景——通过设置body结构标签和CSS指定背景属性实现
- HTML+CSS实现注册页面
- 【前端】纯html+css+javascript实现楼层跳跃式的页面布局
- html input文本框 输入框提示(hint)内容的实现
- HTML 实现伪类之input输入框鼠标点击边框变色效果
- 用css alpha 滤镜 实现input file 样式美化代码
- 任务九:使用HTML/CSS实现一个复杂页面
- [置顶] css实现input获得焦点时label向上移动并且输入框下边框样式改变