Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 401 Bytes

horizontal-scroll.md

File metadata and controls

20 lines (17 loc) · 401 Bytes

수평 스크롤

Code Pen

.horizontal-scroll-wrapper {
  direction: rtl;
  width: 250px;
  max-height: 1000px;
  overflow-y: auto;
  overflow-x: hidden;
  transform: rotate(-90deg) translateY(-$finalHeight);
  transform-origin: right top;

  & > div {
    transform: rotate(90deg);
    transform-origin: right top;
  }
}