css input submit link

前端 未结 5 2234
梦如初夏
梦如初夏 2021-01-01 18:03

I have this html:

      
5条回答
  •  臣服心动
    2021-01-01 18:37

    You should assign a class to the button

    
    

    and in your css file (or inside a tag) use

    .link-lookalike {
        background: none;
        border: none;
        color: blue;
        text-decoration: underline;
        cursor: pointer;
    }
    

    this way you can assign the class to different buttons in your page (if required), and they will all get the same look.

提交回复
热议问题