How to make a transparent HTML button?

后端 未结 6 2082
情歌与酒
情歌与酒 2020-12-23 00:33

I am using dreamweaver to create a website and I thought of just using Photoshop to create backgrounds. I decided to do so only because in case I\'d choose to change the but

6条回答
  •  独厮守ぢ
    2020-12-23 00:53

    To get rid of the outline when clicking, add outline:none

    jsFiddle example

    button {
        background-color: Transparent;
        background-repeat:no-repeat;
        border: none;
        cursor:pointer;
        overflow: hidden;
        outline:none;
    }
    

    button {
        background-color: Transparent;
        background-repeat:no-repeat;
        border: none;
        cursor:pointer;
        overflow: hidden;
        outline:none;
    }

提交回复
热议问题