Home  >  Article  >  WeChat Applet  >  How to change the style of button buttons in WeChat applet

How to change the style of button buttons in WeChat applet

不言
不言Original
2018-09-18 16:20:2511812browse

The content of this article is about how to change the style of the button button in the WeChat applet. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. help.

Button button

<button class=&#39;getCodeView firstListLineStyle&#39;
 disabled=&#39;{{disabled}}&#39; </button>

Button button style

.getCodeView { 
  width: 100%; 
  margin-right: 20rpx; 
  height: 60rpx; 
  line-height: 60rpx; 
  background: #fff; 
  color:#1e82d2; 
  padding-right:0rpx; 
  }

Modify button button When disabled is true, the style of gray font and light gray background will appear

button[disabled]:not([type]) { 
  background-color: #fff; 
  color: #1e82d2 ; 
  }

Modify button Button style with virtual edges

button::after { 
  border: none; 
  }

The above is the detailed content of How to change the style of button buttons in WeChat applet. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more