I've got this slice of code using bootstrap and pure css:
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet"/>
<div class="bg-dark">
<div style="transform:rotate(45deg)" class=" col-4 h-50 bg-danger">
<p style="transform:rotate(-45deg)" class=" text-light">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Error adipisci nisi vel incidunt saepe recusandae minus alias maiores dolore quidem nesciunt dicta nihil aut officia dolor, soluta, at, veniam totam. Lorem ipsum, dolor sit amet consectetur adipisicing
elit. Error adipisci nisi vel incidunt saepe recusandae minus alias maiores dolore quidem nesciunt dicta nihil aut officia dolor, soluta, at, veniam totam.
</p>
</div>
</div>
as you see I've rotated the div tag for 45deg and p tag -45deg.
I want the text to be fit and responsive as there is no rotation on there.
but now text falls out of div. how can I control it?