아이폰 css 질문 입니다.

아이폰 css 질문 입니다.

QA

아이폰 css 질문 입니다.

답변 1

본문

2109067063_1660355237.6637.png

 

 

이런 가로 스와이프 메뉴인데 안드로이드는 문제없는데 아이폰은 "how to make?" 메뉴만 단어가 줄바꿈 되서 보인다는데 도대체 무슨 문제인지 모르겠네요..

 

각 메뉴별 요소 넓이를 지정해준것도 아닌데 왜 아이폰에서 저 특정 단어만 줄바꿈 되는걸까요?

 

<style>
.gnb { height:60px; line-height:60px; border-bottom:1px solid #333; background:#000 }
.gnb .swiper-container { width:auto !important; text-align:center; }
.gnb .swiper-slide { padding:0 12px !important; width:auto !important; text-align:center;  }
.gnb .swiper-slide a { font-size:13px; color:#fff; text-align:center }
.gnb .swiper-slide.color:nth-child(1) a { color:#ff882a !important }
.gnb .swiper-slide.color:nth-child(2) a { color:#3ad1da !important }
.gnb .swiper-slide.color:nth-child(3) a { color:#b154dc !important }
.gnb .swiper-slide.color:nth-child(4) a { color:#eae32a !important }
.gnb .swiper-slide.color:nth-child(5) a { color:#3971d9 !important }
</style>

 

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 123,610
© SIRSOFT
현재 페이지 제일 처음으로