0
ポップオーバーを作成しましたが、スタイリングの問題があります。ポップオーバーの矢印に赤い枠線と透明な背景がありますが、その代わりにすべて赤です。Popover arrow styling issues
border-bottom
を透明に変更しようとしましたが、境界線がありません。
CSS:
a {
position: relative;
}
.popover:before {
content: "\A";
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid red;
top: -5px;
position: absolute;
left: 45%
}
.popover {
text-decoration: none;
color: black;
position: absolute;
left: 0%;
top: 100%;
display: block;
border: 1px solid red;
padding: 10px;
}
.popover span {
display: block;
font-weight: 700;
}