gpt4 book ai didi

按钮的CSS属性

转载 作者:太空宇宙 更新时间:2023-11-04 00:08:56 24 4
gpt4 key购买 nike

我有这段 html 代码和这个按钮,现在我需要为这两个按钮提供不同的 css。

你能帮我吗?

<div class="modal" style="display: none;">
<button type="button" class="action confirm">Konfirmo</button>
<button type="button" class="action cancel">Anullo</button>
</div>

它应该是类似 .modal .button .confirm我正在尝试为这两个按钮提供不同的 CSS。那么,我该怎么做!谢谢..

最佳答案

我不太清楚你在问什么,但你在找这样的东西吗?

.modal .confirm {
color: green;
}

.modal .cancel {
color: red;
}

关于按钮的CSS属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13801805/

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