">

<input type=" class="article-image">

尝试一下

.styled {

border: 0;

line-height: 2.5;

padding: 0 20px;

font-size: 1rem;

text-align: center;

color: #fff;

text-shadow: 1px 1px 1px #000;

border-radius: 10px;

background-color: rgb(220 0 0 / 100%);

background-image: linear-gradient(

to top left,

rgb(0 0 0 / 20%),

rgb(0 0 0 / 20%) 30%,

rgb(0 0 0 / 0%)

);

box-shadow:

inset 2px 2px 3px rgb(255 255 255 / 60%),

inset -2px -2px 3px rgb(0 0 0 / 60%);

}

.styled:hover {

background-color: rgb(255 0 0 / 100%);

}

.styled:active {

box-shadow:

inset -2px -2px 3px rgb(255 255 255 / 60%),

inset 2px 2px 3px rgb(0 0 0 / 60%);

}

备注:button 类型的 元素仍然是合法的 HTML 代码,但是新的

相关推荐

SLG类型游戏有哪些介绍2025 有意思的SLG类型游戏汇总
365bet提款要多久

SLG类型游戏有哪些介绍2025 有意思的SLG类型游戏汇总

🪐 09-18 👁️ 7107
中国散打赛事有哪些,中国散打运动协会
365国际速发彩票

中国散打赛事有哪些,中国散打运动协会

🪐 10-12 👁️ 6002
中国最大的海是什么?揭秘南海的壮阔与神秘
365国际速发彩票

中国最大的海是什么?揭秘南海的壮阔与神秘

🪐 07-25 👁️ 5999