gpt4 book ai didi

html - 气球示例的 CSS 和标记

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

我如何创建一个“联系我们”超链接作为此 page 右上角的链接? ?

我对气球风格特别感兴趣。

最佳答案

他们使用简单的 html 作为链接,使用 css 来显示圆 Angular 和箭头。

<a href="/contact">Contact Us<span class="arrow"><span></span></span></a>

li.contactus a {
-moz-border-radius:5px 5px 5px 5px;
background:none repeat scroll 0 0 #EBE9D9;
border:1px solid #FFFFFF !important;
color:#4C4632 !important;
display:block;
float:left;
font-size:1.3em;
font-weight:bold;
line-height:1;
margin:0;
padding:0.4em 0.7em 0.6em 1.2em;
text-decoration:none;
text-shadow:1px 1px 0 #FFFFFF;
width:6em;
}

li.contactus a span.arrow {
border-left:0 none;
border-right:16px dashed transparent;
border-top:11px solid #FFFFFF;
bottom:-11px;
left:8px;
right:auto;
}

li.contactus a span span {
border-left:0 none;
border-right:14px dashed transparent;
border-top:10px solid #EBE9D9;
bottom:auto;
left:1px;
top:-12px;
}

li.contactus a span {
background:none repeat scroll 0 0 transparent;
border-bottom-width:0;
display:block;
height:0;
position:absolute;
width:0;
}

关于html - 气球示例的 CSS 和标记,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3961972/

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