Search code examples
htmlcssvue.jselement-ui

vue.js - ELEMENT UI upload button color change


I am using upload image file button from element ui which is shown in this link. However, I need to change color of button from blue to green same as another button which is shown in below picture.

enter image description here

Can you help me to edit style of the button? Kind regards


Solution

  • Change it to:

     <el-button type="success">Click to upload</el-button>
    

    And also look at the documentation