我正在制作一些锦标赛括号。出于某种原因,我在将徽标 div 与括号线对齐时遇到问题。你能帮我并告诉我如何放置其他括号(以防我添加更多)非常感谢!
HTML
<div class="logo1"></div>
<div class="logo2"></div>
<div class="brackets-direct">
<div class="tpleft"></div>
<div class="tpright"></div>
<div class="btleft"></div>
<div class="btright"></div>
</div>
CSS
.brackets-direct
{
}
.brackets-direct div {
border: 1px solid #aaa;
width: 38px;
float: left;
height: 33px;
}
div.tpleft
{
border-width: 1px 1px 0 0;
}
div.btleft
{
border-width: 0 1px 1px 0;
clear: left;
}
div.tpright
{
border-width: 0 0 1px 0;
}
div.btright
{
border-width: 0;
}
.logo1, .logo2
{
width: 50px;
height: 50px;
border: 1px solid #000;
margin-bottom: 2px;
}