gpt4 book ai didi

css - 有没有办法让这条径向渐变线更暗?

转载 作者:行者123 更新时间:2023-11-28 11:28:32 25 4
gpt4 key购买 nike

尽管它是黑色的,但显示为浅灰色。我不想让圆点变大。

https://jsfiddle.net/bek17q3t/1/

body,html
{
background-color: #e7e6e6;
height: 100%;
}
div
{
position: relative;
top: 10px;
left: 30px;
width: .25em;
height: 100%;
background-image: radial-gradient(circle closest-side,#000000 calc(100% - .25em),transparent 100%);
background-repeat: repeat-y;
background-size: .25em .75em;
}

最佳答案

body,html
{
background-color: #e7e6e6;
height: 100%;
}
div
{
position: relative;
top: 10px;
left: 30px;
width: .25em;
height: 100%;
background-image: radial-gradient(circle closest-side,#000000 calc(100% - .1em),transparent 100%);
background-repeat: repeat-y;
background-size: .25em .75em;
}
<div>
</div>

更改计算。

关于css - 有没有办法让这条径向渐变线更暗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41992045/

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