menxiaojin

1.背景透明

.detail input{
      background-color:transparent;
      color: #00c7ff;
      border:1px solid #00c7ff;
    }

 

2.修改字符背景透明

.detail input:focus {
      background-color:transparent;
      color: #00c7ff;
      }

 

 3.input中placeholder的修改

input::-webkit-input-placeholder{
  color:rgba(2,208,231,0.38);
}
input::-moz-placeholder{   /* Mozilla Firefox 19+ */
  color:rgba(2,208,231,0.38);
}
input:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
  color:rgba(2,208,231,0.38);
}
input:-ms-input-placeholder{  /* Internet Explorer 10-11 */ 
  color:rgba(2,208,231,0.38);
}

 

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-07-28
  • 2022-12-23
  • 2021-12-26
  • 2021-06-22
  • 2022-01-29
  • 2022-12-23
猜你喜欢
  • 2021-12-26
  • 2021-12-04
  • 2021-08-28
  • 2021-11-18
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案