slick slider 하는데 패딩이 안먹혀요
764
7 asked
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/a947f92a9e.js" crossorigin="anonymous"></script>
<!-- js 첫번째줄 필수-->
<script src="js/jquery-3.5.1.min.js"></script>
<!-- slick.js -->
<script src="slick/slick.min.js"></script>
<link rel="stylesheet" href="slick/slick.css">
<link rel="stylesheet" href="slick/slick-theme.css">
<!-- 공식 홈페이지에 CDN으로 가볍게 가져오는 것도 방법 중 하나 -->
<!-- 순서 맨아래에 있는게 중요 -->
<link rel="stylesheet" href="style.css">
<title>반응형 웹사이트 연습</title>
</head>
====================================
<!-- test -->
<serction class="testimonial">
<div class="inner">
<div class="test-content">
<h2>what <b>our customers</b> are saying</h2>
<hr>
<div class="myslider">
<div>client1</div>
<div>client1</div>
<div>client1</div>
<div>client1</div>
<div>client1</div>
<div>client1</div>
</div>
</div>
</div>
</serction>
===============
Answer 2
0
스샷에 어떤 부분의 패딩인지 체크해주시며 좋습니다.
그리고 제가 코드를 복사해서 테스트해보려면 js코드와 css코드가 있어야 합니다.
답글로 js코드와 css코드도 올려주세요.
0
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://kit.fontawesome.com/a947f92a9e.js" crossorigin="anonymous"></script>
<!-- js 첫번째줄 필수-->
<script src="js/jquery-3.5.1.min.js"></script>
<!-- slick.js -->
<script src="slick/slick.min.js"></script>
<link rel="stylesheet" href="slick/slick.css">
<link rel="stylesheet" href="slick/slick-theme.css">
<!-- 공식 홈페이지에 CDN으로 가볍게 가져오는 것도 방법 중 하나 -->
<!-- 순서 맨아래에 있는게 중요 -->
<link rel="stylesheet" href="style.css">
<title>반응형 웹사이트 연습</title>
</head>
<body>
<!-- width가 100%가 아닌 박스는 inner라는 공통 클래스를 넣어
가로너비와 마진을 정해놓는다 -->
<!-- slide 작업할 때 slick.js 사이트 참고하면 좋다 -->
<div class="container">
<!-- header -->
<header>
<div class="banner">
<div class="lnb">
<a href="#none"><em>for</em> member</a>
<a href="#none"><em>for</em> clients</a>
<a href="#none"><em>for</em> inquire</a>
</div>
</div>
<nav>
<div class="logo"><img src="images/logo.png" alt="-"></div>
<ul class="gnb">
<li><a href="#none">HOME</a></li>
<li><a href="#none">ABOUT</a></li>
<li><a href="#none">RANKING</a></li>
<li><a href="#none">TESTIMONIAL</a></li>
<li><a href="#none">BLOG</a></li>
</ul>
</nav>
</header>
<!-- main -->
<main class="intro">
<div class="inner">
<div class="heading">
<h1>The World’s Best Cities</h1>
<p>It’s not just about good weather or grea t food and nightlife. Unlike other best-of lists, Resonance’s annual ranking also considers a city’s diversity.</p>
</div>
</div>
</main>
<!-- about -->
<section class="about">
<div class="inner">
<div class="about-content">
<div class="desc">
<h2>About Best Cities in the world</h2>
<p>
Factors including its highly rated nightlife landed Madrid, Spain, 12th on this list of world’s best cities. It’s not just about good weather or great food and nightlife. Unlike other best-of lists, Resonance’s annual ranking also considers a city’s diversity and, yes, the number of Instagram hashtags shared online to give a comprehensive view of what it’s like to visit and live in these places.<br><br>
To figure out where you should travel to next, there are plenty of lists out there ranking the world’s best cities. Some use reader polls to determine which place lands at the top, while others base rankings on data like its livability or how easy it is to bike there.
</p>
<a href="#none">Visit the place information</a>
</div>
<div class="photo">
<img src="images/about-img-01.jpg" alt="">
</div>
</div>
</div>
</section>
<!-- lank -->
<section class="ranking">
<div class="inner">
<div class="ranking-content">
<h2>The World’s 25 Best Cities of 2020</h2>
<div class="itmes">
<div class="item">
<div class="up-image">
<img src="images/best-city-01.jpg" alt="">
</div>
<div class="down-desc">
<span class="badge red">Must go</span>
<h3>London, England</h3>
<p>
London’s main sights might date back millennia, but the capital’s shops, bars, hotels, and restaurants emerge and evolve on an almost weekly basis.
</p>
<a class="btn-explore" href="#none">Explore <img src="images/icon-arrow.png" alt=""></a>
</div>
</div>
<div class="item">
<div class="up-image">
<img src="images/best-city-02.jpg" alt="">
</div>
<div class="down-desc">
<span class="badge">Good to go</span>
<h3>New York City, United States</h3>
<p>
New York’s performing arts scene—both on Broadway and off—is beloved by visitors and locals alike, so it’s no surprise that the Big Apple took the number one spot.
</p>
<a class="btn-explore" href="#none">Explore <img src="images/icon-arrow.png" alt=""></a>
</div>
</div>
<div class="item">
<div class="up-image">
<img src="images/best-city-03.jpg" alt="">
</div>
<div class="down-desc">
<span class="badge">Good to go</span>
<h3>Paris, France</h3>
<p>
The Notre Dame fire was a devastating reminder of how well-loved Paris is by travelers worldwide, and as the capital gears up for the 2024 Olympics
</p>
<a class="btn-explore" href="#none">Explore <img src="images/icon-arrow.png" alt=""></a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- test -->
<serction class="testimonial">
<div class="inner">
<div class="test-content">
<h2>what <b>our customers</b> are saying</h2>
<hr>
<div class="myslider">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
<div>6</div>
</div>
</div>
</div>
</serction>
<!-- call -->
<section class="callaction">
<div class="callaction-heading">
<h2>The Most Simple & <b>Powerful Way</b><br>to book <b>your trip</b></h2>
<a href="#none">GET EARLY ACCESS</a>
</div>
</section>
<!-- blog -->
<section class="blog">
<div class="inner">
</div>
</section>
<!-- festival -->
<section class="festival">
<div class="festival-heading">
<h2><span>SEE ALL FESTIVALS</span> for the Best Trip Place</h2>
<div class="btn">
<a href="#none">Maxico Festivals</a>
<a href="#none">Barcelona Festivals</a>
</div>
</div>
</section>
<!-- footer -->
<footer>
<div class="inner">
<div class="footer-content">
<ul class="community">
<li>Community</li>
<li><a href="#none">Subscribe</a></li>
<li><a href="#none">Give A Gift</a></li>
<li><a href="#none">Customer Service FAQ</a></li>
<li><a href="#none">Access Your Subscription</a></li>
</ul>
<ul class="network">
<li>Network</li>
<li><a href="#none">Privacy Policy</a></li>
<li><a href="#none">Terms Of Service</a></li>
<li><a href="#none">Advertise</a></li>
<li><a href="#none">Jobs</a></li>
</ul>
<ul class="help">
<li>Help Preserve This Project</li>
<li>
We may earn a commission if you purchase an item
featured on our site.</li>
<li>Copyright © 2020 CodingWorks. All rights reserved.</li>
</ul>
</div>
</div>
</footer>
</div>
</body>
</html>
0
가로스크롤
1
459
1
상위 태그 영역 무시 하는 방법
1
843
2
반응형 적응형 구분
2
804
2
flex가 적용되면 하위에 있는 인라인의 속성은?
1
360
1
슬릭 슬라이더 버튼
1
370
1
slick 모바일로 변환했을때..
1
607
1
x scroll 이 왜 생기는 걸까요?
1
870
1
영상 16분 field margin-left 문제 (다운로드 교재도 동일한 문제)
1
249
1
모바일에서 이미지 짤림 현상
1
2743
2
질문 있습니다
1
242
1
안녕하세요
1
259
1
모바일버전에서 스크롤이 생겨서요 ㅜㅜ
1
289
1
반응형 헤더 네비게이션 공부중인데요. 궁금한것이 있어서요.
1
387
2
슬라이딩 스크롤이 이상하게 먹혀요!
1
408
2
제이쿼리 부드럽게 스크롤할때 제이쿼리에 밑줄오류가 있습니다.
1
317
1
혹시 이 강의 싸이트를 혼자의 힘으로 만들수 있으면 어느정도 실력정도 되나요?
1
250
1
소스랑 자료 다운로는 어디서 받을 수 있나요?
1
300
1
반응형 헤더 네비게이션 강의 질문있습니다.
1
203
1
그 반응형 질문 있습니다
1
225
1
질문드립니다 강사님
1
290
2
flex 레이아웃 배치 질문있습니다.
1
221
1
미디어쿼리 반응형 만들때 사이즈 질문있습니다.
1
202
1
인라인요소인 label 에 margin-bottom 이 되다니... 어렵습니다.
1
973
1
태블릿부분에서 사진이 삐져나오는 부분 질문
2
238
1

