css3圓角和陰影
CSS3
圓角:
<div id="round"></div>
#round {
width:300px;
height:300px;
border:1px solid #000;
-moz-border-radius:10px //firefox
-webkit-border-radius:10px //safari&chrome
}
陰影:
<div id="shadow"></div>
#shadow {
width:300px;
height:300px;
-webkit-box-shadow:10px; //only chrome
}
很棒的革新,但我感覺,CSS越來越難了。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
圖片在容器中水平居中css
dxh_0829
2020-07-05 10:13:07
中國泰山-Http://54TaiShan.Cn
中國泰山官方網站:Http://54TaiShan.Cn 中國泰山, 中國著名搖滾歌手, 搖滾泰山, 猛男泰山, 歌王泰山, 泰山, 54TaiShan.Cn 中國泰山演出照片集錦
AppleBBS
2020-06-28 00:14:08
xhtml+css技巧
cnxlx
2020-06-21 10:07:38
讓表格也能overflow:hidden?
cnxlx
2020-06-21 10:07:38
01_07.margin屬性
大史叔叔
2020-06-15 16:55:25
02_02.常見標籤
大史叔叔
2020-06-15 16:55:25
03_02.塊元素與內聯元素
大史叔叔
2020-06-15 16:55:25
01_06.padding屬性
大史叔叔
2020-06-15 16:55:25
03_03.inline-block
大史叔叔
2020-06-15 16:55:25
04_02.float簡單佈局
大史叔叔
2020-06-15 16:55:25
02_03.常用選擇器
大史叔叔
2020-06-15 16:55:15
05_01.IE6同行元素浮動bug
大史叔叔
2020-06-15 16:55:15
元素的class與ID命名常用關鍵字
cnxlx
2020-02-25 03:35:12