`

button伪装成超链接形式

 
阅读更多
<button type="submit" class="link"><span>按钮</span></button>

 

/* button伪装成超链接形式  */
button.link {
    font-size: 1em;
    text-align: left;
    color: blue;
    background: none;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
    outline:none;
}

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics