亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

css3.0 圖形構成實例練習一

  發(fā)布時間:2013-03-19 10:41:22   作者:佚名   我要評論
css3.0 的出現(xiàn)給我們帶來了很大的影響,本文主要介紹下圖形構成,感興趣的朋友可以參考并學習下實例,希望對你學習css3有所幫助
html部分內(nèi)容

復制代碼
代碼如下:

<div class="header">
  <div class="eye_left"></div>
  <div class="eye_right">
    <div class="eye_in"></div>
  </div>
  <div class="head_bottom"></div>
</div>

css部分

復制代碼
代碼如下:

*{ padding:0; margin:0;}
.header{ width:300px; margin:100px auto; position:relative; }
.eye_left,.eye_right{
  width:30px;
  height:30px;
  background:#FFF;
  position:absolute;
  border:70px solid #0C0;
  border-radius:160px;
  -moz-border-radius:160px;
  -webkit-border-radius:160px;
  -o-border-radius:160px;}
.eye_left{
  left:10px;
  top:0px;}
.eye_right{
  right:0px;
  top:0px;}
.head_bottom{
  width:200px;
  border:#0C0 solid 60px;
  border-radius:160px;
  -moz-border-radius:160px;
  -webkit-border-radius:160px;
  -o-border-radius:160px;
  height:30px;
  left:0px;
  position:absolute;
  top:120px;
  z-index:-5;}
.eye_in{
  background:#0C0;
  height:30px;
  width:30px;
  position:absolute;
  right:-30px;
  top:-30px;
  border:#FFF 30px solid;
  border-radius:160px;
  -moz-border-radius:160px;
  -webkit-border-radius:160px;
  -o-border-radius:160px;}

相關文章

最新評論