env() iOS 브라우저에서 뷰포트 안전 영역에 컨텐츠 배치 위한 4가지 환경변수(아이폰X 이상에서만 동작하며 그 외 디바이스에서는 영향 주지 않음)safe-area-inset-* env(safe-area-inset-left) env(safe-area-inset-right) env(safe-area-inset-top) env(safe-area-inset-bottom) 대체값 사용시 (px, em, rem, vh 모두 가능) env(safe-area-inset-top, 20px); ※ iOS 11.0 버전에서는 아래와 같이 사용 constant(safe-area-inset-left) constant(safe-area-inset-right) constant(safe-area-inset-top) consta..
좌측으로 흘러가는 텍스트 효과를 javaScript 없이 CSS transform으로 구현하기 이미지 형식 marquee가 좌측으로 무한 플로팅 디바이스 width를 2560px까지 맞춰야하므로 이미지 사이즈는 3000px 정도로 준비 HTML CSS .float_wrap{ overflow-x: hidden; position: relative; height: 120px; background-color: #37BF92; } .float_conbox{ position: absolute; white-space: nowrap; will-change: transform; animation: marquee 30s linear infinite; } .float_conbox img{ max-width: unset; }..
