HTML 마크 업을 수정하고 WebWanderer의 jsFiddle 솔루션에 일부 자바 스크립트를 추가했습니다.
https://jsfiddle.net/urulai/bfzqgreo/3/
HTML :
<div id="outer-div">
<p>ipsum dolor amet bacon venison porchetta spare ribs, tongue turducken alcatra doner leberkas t-bone rump ball tip hamburger drumstick. Shoulder strip steak ribeye, kielbasa fatback pig kevin drumstick biltong pork short loin rump. Biltong doner ribeye, alcatra landjaeger tenderloin drumstick t-bone pastrami andouille. Sirloin spare ribs fatback, bresaola strip steak alcatra landjaeger kielbasa cupim doner. </p>
</div>
CSS :
#outer-div {
width:100%;
margin-left:auto;
margin-right:auto;
text-align:right;
overflow:hidden;
white-space: nowrap;
border:1px solid black;
}
JS :
let outer = document.getElementById("outer-div");
outer.scrollLeft += outer.scrollWidth;