gpt4 book ai didi

twitter-bootstrap - 如何在 CSS 3 中的特定位置创建曲线?

转载 作者:太空宇宙 更新时间:2023-11-04 07:04:38 25 4
gpt4 key购买 nike

我的网站顶部有一个带有我的 Logo 的导航栏。如何在 Logo 下方创建曲线?

我希望这条线是连续的,并且只面对 Logo 下方的一条小曲线。可能吗?

enter image description here

最佳答案

你可以用 CSS 做到这一点:

`.rounded_underline{
width: 100px;
height: 70px;
border-bottom: 2px solid red;
border-radius: 50%;
}`

或者您可以添加一个 HTML SVG 标签:

<svg>
<circle stroke-width="3" stroke= "blue" fill = "none" cx="50%" cy="-80" r="130" />
</svg>

关于twitter-bootstrap - 如何在 CSS 3 中的特定位置创建曲线?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51713192/

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