在Firefox中形成失去的不透明度

时间:2016-08-02 13:35:44

标签: css google-chrome firefox

我遇到了在Mozzilla中丢失表单不透明度的问题: Firefox

Chrome中的更多功能一切都很棒: enter image description here

是否存在一些收费用于为每个浏览器设置我的CSS3代码?当用-o- -moz- ect添加额外的行时会很棒。前缀。

我的代码没什么特别的......

.input2
{
  transition: all 300ms ease;
  width: 240px;
  height: 45px;
  margin: 0 auto;
  margin-top: 10px;
  margin-left: 80px;
  border-width: 0;
  background-color: white;
  border-bottom-width: 3px;
  border-color: #CCCA14;
  text-indent: 20px;
  font-family: 'Titillium Web', sans-serif;
  color: #232227;
  font-size: 16px;
}

1 个答案:

答案 0 :(得分:0)

现在尝试它可行,glTexImage2D(GLTEXTURE_2D, 0, GL_RGB8, width, height, 0, GL_RGBA, GLUNSIGNED_BYTE, (GLvoid*)myArray)未定义,这就是为什么它不能用于Firefox。

您可以在一行或多行中定义它,即Border style的属性,如下所示

border

.input2{
border-bottom : 2px solid #CCCA14;
} 

or 

.input2{
border-bottom-width : 2px;
border-color : #CCCA14;
border-style : solid;
} 
.input2
{
  transition: all 300ms ease;
  width: 240px;
  height: 45px;
  margin: 0 auto;
  margin-top: 10px;
  margin-left: 80px;
  border-width: 0;
  background-color: white;
  border-bottom: 3px solid #CCCA14;
  text-indent: 20px;
  font-family: 'Titillium Web', sans-serif;
  color: #232227;
  font-size: 16px;
  outline:none;
}