亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

before和after的問題

div盒子的高度是200px,盒子里面的h1的高度等于200px,插在后面被擠下來我可以理解,為什么用before插在前面會在盒子里面,照道理來說應該在盒子外的上面呀,誰可以解答一下?。。?!

http://www.xianlaiwan.cn/video/5865

這個視頻里的

正在回答

3 回答

看不懂;

http://www.narkii.com/eye/ndsques_vq-1755629.html
http://www.narkii.com/eye/ndsques_vq-1755956.html
http://www.narkii.com/eye/ndsques_vq-1755984.html
http://www.narkii.com/eye/ndsques_vq-1756003.html
http://www.narkii.com/eye/ndsques_vq-1756029.html
http://www.narkii.com/eye/ndsques_vq-1756051.html
http://www.narkii.com/eye/ndsques_vq-1756072.html
http://www.narkii.com/eye/ndsques_vq-1756096.html
http://www.narkii.com/eye/ndsques_vq-1756115.html
http://www.narkii.com/eye/ndsques_vq-1756145.html
http://www.narkii.com/eye/ndsques_vq-1756165.html
http://www.narkii.com/eye/ndsques_vq-1756184.html
http://www.narkii.com/eye/ndsques_vq-1756209.html
http://www.narkii.com/eye/ndsques_vq-1756232.html
http://www.narkii.com/eye/ndsques_vq-1756257.html
http://www.narkii.com/eye/ndsques_vq-1756281.html
http://www.narkii.com/eye/ndsques_vq-1756308.html
http://www.narkii.com/eye/ndsques_vq-1756333.html
http://www.narkii.com/eye/ndsques_vq-1756358.html
http://www.narkii.com/eye/ndsques_vq-1756382.html
http://www.narkii.com/eye/ndsques_vq-1756412.html
http://www.narkii.com/eye/ndsques_vq-1756436.html
http://www.narkii.com/eye/ndsques_vq-1756452.html
http://www.narkii.com/eye/ndsques_vq-1756473.html
http://www.narkii.com/eye/ndsques_vq-1756498.html
http://www.narkii.com/eye/ndsques_vq-1756519.html
http://www.narkii.com/eye/ndsques_vq-1756543.html
http://www.narkii.com/eye/ndsques_vq-1756563.html
http://www.narkii.com/eye/ndsques_vq-1756585.html
http://www.narkii.com/eye/ndsques_vq-1756609.html
http://www.narkii.com/eye/ndsques_vq-1756634.html
http://www.narkii.com/eye/ndsques_vq-1756655.html
http://www.narkii.com/eye/ndsques_vq-1756675.html
http://www.narkii.com/eye/ndsques_vq-1756701.html
http://www.narkii.com/eye/ndsques_vq-1756722.html
http://www.narkii.com/eye/ndsques_vq-1756741.html
http://www.narkii.com/eye/ndsques_vq-1756765.html
http://www.narkii.com/eye/ndsques_vq-1756786.html
http://www.narkii.com/eye/ndsques_vq-1756810.html
http://www.narkii.com/eye/ndsques_vq-1756838.html
http://www.narkii.com/eye/ndsques_vq-1756859.html
http://www.narkii.com/eye/ndsques_vq-1756881.html
http://www.narkii.com/eye/ndsques_vq-1756909.html
http://www.narkii.com/eye/ndsques_vq-1756931.html
http://www.narkii.com/eye/ndsques_vq-1756953.html
http://www.narkii.com/eye/ndsques_vq-1756979.html
http://www.narkii.com/eye/ndsques_vq-1757005.html
http://www.narkii.com/eye/ndsques_vq-1757027.html
http://www.narkii.com/eye/ndsques_vq-1757052.html
http://www.narkii.com/eye/ndsques_vq-1757077.html
http://www.narkii.com/eye/ndsques_vq-1757100.html
http://www.narkii.com/eye/ndsques_vq-1757121.html
http://www.narkii.com/eye/ndsques_vq-1757138.html
http://www.narkii.com/eye/ndsques_vq-1757158.html
http://www.narkii.com/eye/ndsques_vq-1757184.html
http://www.narkii.com/eye/ndsques_vq-1757200.html
http://www.narkii.com/eye/ndsques_vq-1757215.html
http://www.narkii.com/eye/ndsques_vq-1757237.html
http://www.narkii.com/eye/ndsques_vq-1757258.html
http://www.narkii.com/eye/ndsques_vq-1757280.html
http://www.narkii.com/eye/ndsques_vq-1757303.html
http://www.narkii.com/eye/ndsques_vq-1757323.html
http://www.narkii.com/eye/ndsques_vq-1757345.html
http://www.narkii.com/eye/ndsques_vq-1757366.html
http://www.narkii.com/eye/ndsques_vq-1757386.html

0 回復 有任何疑惑可以回復我~

偽元素的content 一定會在元素內容前后,試著把<h1>shadow effect</h1>給隱藏掉后,偽元素的content 會挨著一起.如下圖.
http://img1.sycdn.imooc.com//5ec237040001e65a07280324.jpg

0 回復 有任何疑惑可以回復我~

before在div里面,h1的外面(前面)。你給div和h1都加上邊框border就可以理解了。它是div的子元素,h1的兄弟元素。

1 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

before和after的問題

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號