第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Z-index怎么都沒用啊,所有百度說的可能情況都試過了

Z-index怎么都沒用啊,所有百度說的可能情況都試過了

Sprash 2016-04-16 15:54:02
<html><head> <style type="text/css"> *{ padding: 0; margin: 0; }?body :first-child{?position: absolute;left: 200px;width: 100px;height: 100px;top: 200px;background-color: blue;?}? body :empty{?position: absolute;left: 200px;width: 100px;height: 100px;top: 200px;background-color: red;z-index: 50px?}? body :last-child{?position: absolute;left: 200px;width: 100px;height: 100px;top: 200px;background-color: green;?} </style></head><body>? <div>1</div>? <div></div>? <div>2</div></body></html>chrome F12顯示這樣
查看完整描述

3 回答

已采納
?
GlaDoss

TA貢獻4條經(jīng)驗 獲得超1個贊

z-index沒有單位px

查看完整回答
1 反對 回復 2016-04-16
?
亂舞的旋律

TA貢獻105條經(jīng)驗 獲得超38個贊

z-index 是表示顯示層, px是像素,沒有單位?。?!

查看完整回答
反對 回復 2016-04-16
?
卡迪亞茲

TA貢獻24條經(jīng)驗 獲得超8個贊

你把鼠標放在chrome提示上面,會告訴你無效的值。證明z-index沒有單位。

查看完整回答
反對 回復 2016-04-16
  • 3 回答
  • 0 關注
  • 1631 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號