是否可以围绕这两个形状绘制最终边框,而左右两侧没有圆圈的边框?
这是我到目前为止所拥有的
<div class="site-header1">
<div class="logo">
<div class="text">
<span>Class</span>
<span>Class</span>
</div>
<div class="img"></div>
</div>
</div>
css
.site-header1 .logo{
position:relative;
height: 80px;
}
.site-header1 .logo .text{
padding: 10px;
font-weight: lighter;
font-family: 'Lato', sans-serif;
font-size:1.5em;
border-radius: 25px;
background:white;
border:1px solid rgba(0, 0, 0, 0.5);
position:absolute;
top: 17px;
}
.site-header1 .logo .text span+span{
padding-left:75px;
}
.site-header1 .logo .img{
border-radius: 100px;
background:white;
border:1px solid rgba(0, 0, 0, 0.5);
position:absolute;
left: 75px;
top: 7px;
height: 70px;
width: 70px;
}
我有一个小提琴从这里开始http://jsfiddle.net/TH5E5/