單項選擇題

以下代碼片斷中,屬于絕對定位的是()。

A.#box{width:100px;height:50px;}
B.#box{width:100px;height:50px; position:absolute;}
C.#box{width:100px;height:50px; position:static;}
D.#box{width:100px;height:50px; position:relative;}

微信掃碼免費(fèi)搜題