How to set text color in submit button?

后端 未结 6 753
后悔当初
后悔当初 2020-12-29 18:56

I tried to change the color of the text in the submit button type but, I don\'t know why I am not able to change it.

相关标签:
6条回答
  • 2020-12-29 19:23
    <button id="fwdbtn" style="color:red">Submit</button> 
    
    0 讨论(0)
  • 2020-12-29 19:25

    Use this CSS:

    color: red;
    

    that's all.

    0 讨论(0)
  • 2020-12-29 19:25
    .btn{
        font-size: 20px;
        color:black;
    }
    
    0 讨论(0)
  • 2020-12-29 19:29

    you try this:

    <input type="submit" style="font-face: 'Comic Sans MS'; font-size: larger; color: teal; background-color: #FFFFC0; border: 3pt ridge lightgrey" value=" Send Me! ">
    
    0 讨论(0)
  • 2020-12-29 19:36
    <input type = "button" style ="background-color:green"/>
    
    0 讨论(0)
  • 2020-12-29 19:39

    .button
    {
        font-size: 13px;
        color:green;
    }
    <input type="submit" value="Fetch" class="button"/>

    0 讨论(0)
提交回复
热议问题