、請閱讀下面的代碼,根據注釋中的要求填寫代碼。<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>邊框屬性</title><style type="text/css">.box{ width:300px; height:300px; _____________________; /*設置頂部邊框線為1px,實線,黑色;*/ _____________________; /*設置右側邊框線為2px,虛線,紅色;*/ _____________________; /*設置底部邊框線為4px,實線,綠色;*/ _____________________; /*設置左側邊框線為8px,虛線,藍色;*/}</style></head><body><div class="box">我是帶邊框的盒子</div></body></html>
1 回答

楊魅力
TA貢獻1811條經驗 獲得超6個贊
border-top:1px solid black;
border-right:2px dashed red;
border-bottom:4px solid green;
border-left:8px dashed blue;
- 1 回答
- 0 關注
- 1263 瀏覽
相關問題推薦
添加回答
舉報
0/150
提交
取消