To add an ellipsis (...) after three lines of text if the content overflows, you can use the CSS property line-clamp. However, line-clamp is part of the CSS Overflow Module, which is not fully standardized and may not work in all browsers. You should include it in your CSS with the proper vendor prefixes to ensure maximum compatibility. Here’s an example of how you can modify your CSS: