【发布时间】:2017-09-23 02:49:41
【问题描述】:
如何在 CSS 中制作像水平角一样的尖锐“V”?
看起来像这样的角 好像角在<legend> 和<fieldset> 中都出现在左右两侧。
#FieldsetSeekBox {
padding: 8px 1px;
border: 1px solid #a1a1a1;
}
#LegendStyle {
border-style: none;
background-color: #a1a1a1;
font: bold 13px Tahoma, Arial, Helvetica;
color: #000000;
padding-left: 10px;
position: relative;
border-radius: 8px 8px 0px 0px;
}
<fieldset id="FieldsetSeekBox">
<legend id="LegendStyle"> Web Search </legend>
<input type="text" name="u" size="70" value="" placeholder="Type your Search here and click Search..." id="SeekBox">
</fieldset>
【问题讨论】:
-
我不确定我明白你的意思,所以最好有一张照片