这样一个图片怎么样通过HTML5和CSS3来实现?求HTML5 CSS3大神指导!
1个回答
展开全部
<style>
body {margin:0; padding:0; width:100%; height:100%; background-color:#ddd}
#back {POSITION:absolute; left:0; bottom:0; width:100%; height:100px; background-color:#000}
#bbal {POSITION:absolute; left:50%; bottom:0; width:120px; height:120px; margin-left:-60px; border-radius:100%; background-color:#000}
#sbal {POSITION:absolute; left:15px; top:15px; width:90px; height:90px; border-radius:100%; background-color:#D75D36}
</style>
<div id=back>
<div id=bbal>
<div id=sbal></div>
</div>
</div>
body {margin:0; padding:0; width:100%; height:100%; background-color:#ddd}
#back {POSITION:absolute; left:0; bottom:0; width:100%; height:100px; background-color:#000}
#bbal {POSITION:absolute; left:50%; bottom:0; width:120px; height:120px; margin-left:-60px; border-radius:100%; background-color:#000}
#sbal {POSITION:absolute; left:15px; top:15px; width:90px; height:90px; border-radius:100%; background-color:#D75D36}
</style>
<div id=back>
<div id=bbal>
<div id=sbal></div>
</div>
</div>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询