JSFiddle - React, Tailwind, and code Playground

by Dhanapas

HTML

<html>
<body>
<div class="panel">You can use the overflow property when you want to have better control of the layout. 
<img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png">
The default value is visible.You can use the overflow property when you want to have better control of the layout. 
<img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" >
The default value is visible.You can use the overflow property when you want to have better control of the layout. 

</div>

</body>
</html>

CSS

.panel {
  width: 200px;
  overflow: scroll;
}