gpt4 book ai didi

asp.net - 如何为 html 操作链接提供按钮样式

转载 作者:可可西里 更新时间:2023-11-01 12:53:22 24 4
gpt4 key购买 nike

如何为 html 操作链接提供按钮样式

最佳答案

更新

这会进入您的 CSS 文件:

.roundedButton {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 12px;

color: #181818;
color: rgba(0,0,0,0.4);
width: 65px;

padding: 8px 12px;
border: none;
outline:none;
outline:0;

-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;

-moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
box-shadow: 0px 1px 3px rgba(0,0,0,0.8);
}

我相信这可能就是您想要的。

Html.ActionLink("ActionLink Text", null, new { @class="roundedButton"})

另外,我刚刚找到这个页面:Edit Html.ActionLink output string

问题中的代码看起来已经设计好了。

关于asp.net - 如何为 html 操作链接提供按钮样式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5455216/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com