Home > WeChat Applet > Mini Program Development > How to change the style of button buttons in WeChat applet

How to change the style of button buttons in WeChat applet

不言
Release: 2018-09-18 16:20:25
Original
11853 people have browsed it

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>
Copy after login

Button button style

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

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 ; 
  }
Copy after login

Modify button Button style with virtual edges

button::after { 
  border: none; 
  }
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template