我有两个按钮,这是它们的代码:
<a onclick="if (!window.__cfRLUnblockHandlers) return false; return confirm('Czy na pewno chcesz anulować?')" href="/forum/topic/1/?pid=1" class="btn btn-danger">Anuluj</a>
<input type="submit" class="btn btn-primary" value="Zatwierdź">
我希望<a>
与<input>
具有相同的大小
答案 0 :(得分:0)
var clients = db.Clients
.Where(c => db.Orders
.Where(a => a.DateOfOrder > DateTime.Now.AddDays(-183))
.Select(a => a.ClientId)
.Contains(c.ClientId))
.ToList();
.btn-primary {
background: var(--primary);
color: #fff
}
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
color: #fff
}
.btn-primary.disabled,
.btn-primary:disabled {
background: rgba(0, 0, 0, .12);
}
.btn-danger {
background: var(--danger);
color: #fff
}
.btn-danger:active,
.btn-danger:focus,
.btn-danger:hover {
color: #fff
}
.btn-danger.disabled,
.btn-danger:disabled {
background: rgba(0, 0, 0, .12);
color: rgba(0, 0, 0, .26)
}