、請(qǐng)閱讀下面的代碼,根據(jù)注釋中的要求填寫代碼。<!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>邊框?qū)傩?lt;/title><style type="text/css">.box{ width:300px; height:300px; _____________________; /*設(shè)置頂部邊框線為1px,實(shí)線,黑色;*/ _____________________; /*設(shè)置右側(cè)邊框線為2px,虛線,紅色;*/ _____________________; /*設(shè)置底部邊框線為4px,實(shí)線,綠色;*/ _____________________; /*設(shè)置左側(cè)邊框線為8px,虛線,藍(lán)色;*/}</style></head><body><div class="box">我是帶邊框的盒子</div></body></html>
1 回答

楊魅力
TA貢獻(xiàn)1811條經(jīng)驗(yàn) 獲得超6個(gè)贊
border-top:1px solid black;
border-right:2px dashed red;
border-bottom:4px solid green;
border-left:8px dashed blue;
添加回答
舉報(bào)
0/150
提交
取消