채택완료

질문드립니다.

2021-03-16 (화) 18:30:18 2,048

안녕하세요.

http://210.114.12.226/   반응형 사이트 입니다.

아래의 이미지 휴대폰에서 가로 화면인데요. 

세로는 1개씩 출력되는데요 

가로에서도  이미지 한줄 1개 로 처리 하는방법 알려주시면 감사합니다.

459690268_1615886914.6944.jpg

|

답변 2개

채택된 답변
+20 포인트
2021-03-16 (화) 19:12:34

@media  screen and (max-width:959px ) and ( min-width:640px){
~
.IndGooA{ border:1px solid #e5e5e5; margin:10px 0; width:286px; height:158px;}
~

=>

@media  screen and (max-width:959px ) and ( min-width:640px){
~
/*
.IndGooA{ border:1px solid #e5e5e5; margin:10px 0; width:286px; height:158px;}
*/
.IndGooA{ border:0.01rem solid #e5e5e5; margin:0 auto 0.15rem; width:99%;}
~
 

2021-03-16 (화) 19:13:07

한줄이면 블록을 줘서 한줄씩 내려오는걸로 하면 되지 않나여?

답변을 작성하려면 로그인이 필요합니다.