WEB PARTS

Nice!
COPY
Nice!
COPY
* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

.slide {
  padding: 100px 0;
}

.slide ul .slick-slide {
  width: 700px;
  padding: 0 20px;
}

@media only screen and (max-width: 800px) {
  .slide ul .slick-slide {
    width: 80vw;
    padding: 0 5px;
  }
}

.slide ul .slick-slide li img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.slide ul button.slick-arrow {
  font-size: 40px;
  width: 1em;
  height: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 100%;
  background: #fff;
  cursor: pointer;
  border: none;
  outline: none;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 1;
  text-indent: -1000000px;
  opacity: 0.6;
}

@media only screen and (max-width: 800px) {
  .slide ul button.slick-arrow {
    opacity: 0;
    border-radius: 0;
    height: 100%;
    width: 10vw;
  }
}

.slide ul button.slick-arrow:before {
  content: "";
  display: block;
  width: 0.2em;
  height: 0.2em;
  border: 1px solid #000;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.slide ul button.slick-arrow.slick-next {
  right: 20px;
}

@media only screen and (max-width: 800px) {
  .slide ul button.slick-arrow.slick-next {
    right: 0;
  }
}

.slide ul button.slick-arrow.slick-next:before {
  border-width: 3px 3px 0 0;
  margin-left: -0.1em;
}

.slide ul button.slick-arrow.slick-prev {
  left: 20px;
}

@media only screen and (max-width: 800px) {
  .slide ul button.slick-arrow.slick-prev {
    left: 0;
  }
}

.slide ul button.slick-arrow.slick-prev:before {
  border-width: 0 0 3px 3px;
  margin-right: -0.1em;
}

.slide .dots {
  padding: 20px;
}

.slide .dots ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}

.slide .dots ul li button {
  display: block;
  width: 12px;
  height: 12px;
  font-size: 0;
  border: 0;
  cursor: pointer;
  background: #ccc;
  border-radius: 50%;
}

.slide .dots ul li.slick-active button {
  background: #777;
}
/*# sourceMappingURL=style.css.map */
Nice!
COPY
* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}

.slide {
  padding: 100px 0;
  ul {
    .slick-slide {
      width: 700px;
      padding: 0 20px;
      @media only screen and (max-width: 800px) {
        width: 80vw;
        padding: 0 5px;
      }
      li {
        img {
          width: 100%;
          display: block;
          border-radius: 10px;
        }
      }
    }
    button.slick-arrow {
      font-size: 40px;
      width: 1em;
      height: 1em;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 100%;
      background: #fff;
      cursor: pointer;
      border: none;
      outline: none;
      position: absolute;
      top: 0;
      bottom: 0;
      margin: auto;
      z-index: 1;
      text-indent: -1000000px;
      opacity: 0.6;
      @media only screen and (max-width: 800px) {
        opacity: 0;
        border-radius: 0;
        height: 100%;
        width: 10vw;
      }
      &:before {
        content: "";
        display: block;
        width: 0.2em;
        height: 0.2em;
        border: 1px solid #000;
        transform: rotate(45deg);
      }
      &.slick-next {
        right: 20px;
        @media only screen and (max-width: 800px) {
          right: 0;
        }
        &:before {
          border-width: 3px 3px 0 0;
          margin-left: -0.1em;
        }
      }
      &.slick-prev {
        left: 20px;
        @media only screen and (max-width: 800px) {
          left: 0;
        }
        &:before {
          border-width: 0 0 3px 3px;
          margin-right: -0.1em;
        }
      }
    }
  }
  .dots {
    padding: 20px;
    ul {
      display: flex;
      justify-content: center;
      gap: 10px;
      li {
        button {
          display: block;
          width: 12px;
          height: 12px;
          font-size: 0;
          border: 0;
          cursor: pointer;
          background: #ccc;
          border-radius: 50%;
        }
        &.slick-active {
          button {
            background: #777;
          }
        }
      }
    }
  }
}
Nice!
COPY
$(function () {
  $(".slide ul").slick({
    arrows: true,
    autoplay: true,
    autoplaySpeed: 4000,
    dots: true,
    appendDots: $(".slide .dots"),
    speed: 1000,
    slidesToShow: 1,
    centerMode: true,
    variableWidth: true,
  });
});