width:100%; height:100%; div박스 3개중에 가운데 박스가 젤먼저 뜨게 하는법 있나요?
단순드립
!DOCTYPE html
html lang=ko
head
titleboxs/title
meta charset=utf-8/
script src=/scripthttp://code.jquery.com/jquery-1.10.1.min.js/script
script src=jquery.bxslider.js/script
script
/script
style
html,body,div{margin:0; padding:0; width:100%; height:100%;}
#warp{position:relative; width:100%; height:100%;}
#box1{position:absolute; width:100%; height:100%; background:#000;}
#box2{position:absolute; left:100%; width:100%; height:100%; background:#fff000;}
#box3{position:absolute; left:200%; width:100%; height:100%; background:#ff0000;}
/style
/head
body
div id=warp
div id=box1/div
div id=box2/div
div id=box3/div
/div
/body
/html
이렇게 했더니 box1부터 뜨던뎅 양쪽에box1box3 달고box2부터 보이게는 할수 없나요?도와주세용 ㅠㅠ
-
도전중
그 박스2만 먼저 display로띄우시구 1,3은 display:none주시구 로드되었을때 display:inline-block이나 block으로 주시면 될듯
-
클
Css3 가 가능하다면 태그실행 지연시키는 태그 있습니다
그걸 이용해서 좌우 div를 디스플레이 시키면 될듣 하내요