嘿,我想把它放到这个按钮的href链接中,如何输入
"/led=ON""
这是带有动画的按钮代码
<button type="button" class="btn btn-primary btn-cons btn-animated from-top fa fa-arrow-up"><span>Open</span></button>
为了给你一个我上面评论的非常简单的例子(将链接格式化为按钮(,这是一个不错的起点。当然,您可以随意格式化它。
网页超链接:
<a href="#" class="linkLikeButton">Example</a>
CSS 类:
.linkLikeButton {
display: inline-block;
border: 2px solid black;
padding: 10px;
background-color: steelblue;
color: white;
text-decoration: none;
}
.linkLikeButton:hover {
background-color: lightblue;
}