CSS3實戰開發: 折角效果實戰開發

來源:互聯網
上載者:User

標籤:round   drive   ref   預設   技術分享   osi   png   pad   title   

 

 

 

 



<!DOCTYPE html><html><head><meta charset="utf-9"><meta name="keywords" content="css,css3,實戰互連網,教程"><meta name="description" content="css3實現折角效果,折角效果,css3實戰盡在實戰互連網" ><link rel="stylesheet" href="styles_2014080901.css"><title>CSS3實現折角效果實戰開發</title></head><body><div class="note"></div></body></html>

 

 

.note { /*設定摺疊樣式基本屬性*/width:480px;height:400px;margin:2em auto; /*調整.note元素的外邊距*/padding:2em;background:#53A3B4;position:relative;}.note:before {content:"";display:block; /*虛擬元素預設是行內元素,所以如果要設定寬高,這必須顯性設定為block*/border-width:0 16px 16px 0; /*設定邊框寬度*/border-color:#fff #fff transparent transparent; background:transparent;border-style:solid; /*設定邊框為固體的*/width:0; /*設定新建立的元素*/position:absolute; /*相對於父容器絕對位置,設定位移父容器邊框距離*/top:0;right:0;/*設定元素的陰影製作效果*/-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);-moz-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);}

:

 

 

 

 

 

CSS3實戰開發: 折角效果實戰開發

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.