表单文件选择框样式自定义_第1页
免费预览已结束,剩余9页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、表单文件选择框样式自定义复制代码代码如下:表单文件挑选框样式bodyfont-family:arial,verdana,sans-serif; margin:100px;.uploaderposition:relative;display:inline-block;overflow:hidden;cursor:default;padding:0;margin:10px 0px;-moz-box-shadow:0px 0px 5px ddd;-webkit-box-shadow:0px 0px 5px ddd;box-shadow:0px 0px 5px ddd;-moz-border-radi

2、us:5px;-webkit-border-radius:5px;border-radius:5px;. filenamefloat:left;display:inline-block;outline:0 none;height:32px;width:180px;margin:0;padding:8px 10px;overflow:hidden;cursor:default;border:1px solid;border-right:0;font:9pt/100% arial, helvetica, sans-serif; color:777;text-shadow:1px 1px 0px f

3、ff;text-overflow:ellipsis;white-space:nowrap;-moz-border-radius:5px 0px 0px 5px;-webkit-border-radius:5px 0px 0px 5px;border-radius:5px 0px 0px 5px;background:f5f5f5;background:-moz-linear-gradient(top, fafafa 0%, eee 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,faf

4、afa), color-stop(100%,f5f5f5);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=fafafa, endcolorstr=f5f5f5,gradienttype=0);border-color:ccc;-moz-box-shadow:0px 0px 1px fff inset;-webkit-box-shadow:0px 0px 1px fff inset;box-shadow:0px 0px 1px fff inset;-moz-box-sizing:border-box;-webkit

5、-box-sizing:border-box;box-sizing:border-box;.buttonfloat:left;height:32px;display:inline-block;outline:0 none;padding:8px 12px;margin:0;cursor:pointer;border:1px solid;font:bold 9pt/100% arial, helvetica, sans-serif;-moz-border-radius:0px 5px 5px 0px;-webkit-border-radius:0px 5px 5px 0px;border-rad

6、ius:0px 5px 5px 0px;-moz-box-shadow:0px 0px 1px fff inset;-webkit-box-shadow:0px 0px 1px fff inset;box-shadow:0px 0px 1px fff inset;.uploader inputtype=fileposition:absolute;top:0; right:0; bottom:0;border:0;padding:0; margin:0;height:30px;cursor:pointer;filter:alpha(opacity=0);-moz-opacity:0;-khtml

7、-opacity: 0;opacity:0;inputtype=button:-moz-focus-innerpadding:0; border:0 none; -moz-box-sizing:content-box;inputtype=button:-webkit-focus-innerpadding:0; border:0 none; -webkit-box-sizing:content-box;inputtype=text:-moz-focus-innerpadding:0; border:0 none; -moz-box-sizing:content-box;inputtype=tex

8、t:-webkit-focus-innerpadding:0; border:0 none; -webkit-box-sizing:content-box;/* white color scheme - */.white .buttoncolor:555;text-shadow:1px 1px 0px fff;background:ddd;background:-moz-linear-gradient(top, eeeeee 0%, dddddd 100%);background:-webkit-gradient(linear, left top, left bottom, color-sto

9、p(0%,eeeeee), color-stop(100%,dddddd);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=eeeeee, endcolorstr=dddddd,gradienttype=0);border-color:ccc;.white:hover .buttonbackground:eee;background:-moz-linear-gradient(top, dddddd 0%, eeeeee 100%);background:-webkit-gradient(linear, left t

10、op, left bottom, color-stop(0%,dddddd), color-stop(100%,eeeeee);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=dddddd, endcolorstr=eeeeee,gradienttype=0);/* blue color scheme - */.blue .buttoncolor:fff;text-shadow:1px 1px 0px 09365f;background:064884;background:-moz-linear-gradient(

11、top, 3b75b4 0%, 064884 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,3b75b4), color-stop(100%,064884);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=3b75b4, endcolorstr=064884,gradienttype=0);border-color:09365f;.blue:hover .buttonbackground:3b75b4;b

12、ackground:-moz-linear-gradient(top, 064884 0%, 3b75b4 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,064884), color-stop(100%,3b75b4);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=064884, endcolorstr=3b75b4,gradienttype=0);/* green color scheme - */.

13、green .buttoncolor:fff;text-shadow:1px 1px 0px 6b7735;background:7d8f33;background:-moz-linear-gradient(top, 93aa4c 0%, 7d8f33 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,93aa4c), color-stop(100%,7d8f33);filter:progid:dximagetransform.microsoft.gradient(startcolors

14、tr=93aa4c, endcolorstr=7d8f33,gradienttype=0);border-color:6b7735;.green:hover .buttonbackground:93aa4c;background:-moz-linear-gradient(top, 7d8f33 0%, 93aa4c 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,7d8f33), color-stop(100%,93aa4c);filter:progid:dximagetransfor

15、m.microsoft.gradient(startcolorstr=7d8f33, endcolorstr=93aa4c,gradienttype=0);/* red color scheme - */.red .buttoncolor:fff;text-shadow:1px 1px 0px 7e0238;background:90013f;background:-moz-linear-gradient(top, b42364 0%, 90013f 100%);background:-webkit-gradient(linear, left top, left bottom, color-s

16、top(0%,b42364), color-stop(100%,90013f);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=b42364, endcolorstr=90013f,gradienttype=0);border-color:7e0238;.red:hover .buttonbackground:b42364;background:-moz-linear-gradient(top, 90013f 0%, b42364 100%);background:-webkit-gradient(linear,

17、left top, left bottom, color-stop(0%,90013f), color-stop(100%,b42364);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=90013f, endcolorstr=b42364,gradienttype=0);/* orange color scheme - */.orange .buttoncolor:fff;text-shadow:1px 1px 0px c04501;background:d54d01;background:-moz-linear

18、-gradient(top, f86c1f 0%, d54d01 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,f86c1f), color-stop(100%,d54d01);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=f86c1f, endcolorstr=d54d01,gradienttype=0);border-color:c04501;.orange:hover .buttonbackgro

19、und:f86c1f;background:-moz-linear-gradient(top, d54d01 0%, f86c1f 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,d54d01), color-stop(100%,f86c1f);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=d54d01, endcolorstr=f86c1f,gradienttype=0);/* black color

20、scheme - */.black .buttoncolor:fff;text-shadow:1px 1px 0px 111111;background:222222;background:-moz-linear-gradient(top, 444444 0%, 222222 100%);background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,444444), color-stop(100%,222222);filter:progid:dximagetransform.microsoft.gradient(startcolorstr=444444, endcolorstr=222222,gradienttype=0);

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论