最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

css3.0 圖形構(gòu)成實(shí)例練習(xí)一

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

復(fù)制代碼
代碼如下:

<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部分

復(fù)制代碼
代碼如下:

*{ 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;}

相關(guān)文章

最新評(píng)論

广安市| 天柱县| 满洲里市| 康乐县| 淮北市| 廉江市| 册亨县| 海南省| 柘荣县| 鹤壁市| 铁岭县| 巴青县| 八宿县| 凉山| 阜康市| 自治县| 桓台县| 恩平市| 敖汉旗| 来宾市| 孝义市| 岗巴县| 炎陵县| 老河口市| 常宁市| 左权县| 东丽区| 巫溪县| 乌什县| 隆德县| 玉山县| 西青区| 阿鲁科尔沁旗| 平果县| 临猗县| 博爱县| 绥江县| 娄烦县| 扬州市| 福建省| 仪陇县|