<div class="txt-overflow">
<p>This is for text overflow. Lorem ipsum dolor sit, amet consectetur adipisicing elit. A provident maxime exercitationem deleniti velit dicta quidem vitae sit quam eius.</p>
</div>
When I use this code, ellipsis work as clip. But as soon as I give class to the para, and remove class from div, it works properly.
So, I want to know that why this happens?
@CodeWithHarry please reply.
Code in html
Code is css
When I use this code, ellipsis work as clip. But as soon as I give class to the para, and remove class from div, it works properly. So, I want to know that why this happens? @CodeWithHarry please reply.