css js 문의드립니다. 채택완료
그누보드 메인 페이지에 적용할려고하는데 작동이 이상하게 됩니다.

아래처럼 나와야 정상인데 ... 위에처럼 이상하게 나옵니다....
초보라서 쉽게 설명부탁드립니다꾸벅.

Copy
jQuery("#carousel").owlCarousel({
autoplay: true,
rewind: true, /* use rewind if you don't want loop */
margin: 20,
/*
animateOut: 'fadeOut',
animateIn: 'fadeIn',
*/
responsiveClass: true,
autoHeight: true,
autoplayTimeout: 7000,
smartSpeed: 800,
nav: true,
responsive: {
0: {
items: 1
},
600: {
items: 3
},
1024: {
items: 4
},
1366: {
items: 4
}
}
});
.owl-nav button {
position: absolute;
top: 50%;
background-color: #000;
color: #fff;
margin: 0;
transition: all 0.3s ease-in-out;
}
.owl-nav button.owl-prev {
left: 0;
}
.owl-nav button.owl-next {
right: 0;
}
.owl-dots {
text-align: center;
padding-top: 15px;
}
.owl-dots button.owl-dot {
width: 15px;
height: 15px;
border-radius: 50%;
display: inline-block;
background: #ccc;
margin: 0 3px;
}
.owl-dots button.owl-dot.active {
background-color: #000;
}
.owl-dots button.owl-dot:focus {
outline: none;
}
.owl-nav button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: rgba(255, 255, 255, 0.38) !important;
}
span {
font-size: 70px;
position: relative;
top: -5px;
}
.owl-nav button:focus {
outline: none;
}
답변 1개
채택된 답변
+20 포인트
답변에 대한 댓글 3개
�
3년 전
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
일단 삭제하고 다른거 찾아봐야겠네요 감사합니다.