본문 바로가기
웹코딩 배우기/· CSS

움직이는 배경 이미지 만들기

by 닐기 2021. 10. 31.

See the Pen 움직이지 배경 이미지 by nilgi (@nilgi) on CodePen.

 

html : background-position: left;

 

animation: abi 7s infinite;
@keyframes abi {
     50% {background-position: right;}
}