xxoo.style.display = "none",每次都要創(chuàng)建,再移除效率低,創(chuàng)建之后關(guān)閉的話,可以直接隱藏
2015-11-18
位置居中直接這樣不就可以了嗎
position:absolute; left:0; right:0; top:0; bottom:0; margin:auto;定位也不需要fixed
position:absolute; left:0; right:0; top:0; bottom:0; margin:auto;定位也不需要fixed
2015-11-18
最新回答 / 鬧小志
我猜想你可能用了opacity屬性,這個透明子元素會繼承的,也就是說你給這個元素設(shè)置了opacity:0.5;那它的子元素也會有0.5的透明度,包括文字!
2015-11-09
已采納回答 / sixGod
你在id="login-area"這個div上加上style="display:none"來讓這個登陸框隱藏,當你點擊右上角的登錄時,再把這個div設(shè)置為顯示就好了
2015-11-02