How can I make my <input type=“submit” /> an image?

前端 未结 6 1732
不知归路
不知归路 2021-02-02 11:07

I have a beautiful little CSS image that needs to be a button. I\'ve tried about 20 different methods, none of which work. I just either get a blank nothing or a border with no

6条回答
  •  渐次进展
    2021-02-02 11:27

    Another way that's kind of hackish is this (using jQuery):

    Then you style your div any way you like.

提交回复
热议问题