Here we have a simple div that contains three paragaphs, the div is meant to be displayed with five columns.

Because of the nature of Widows being worked out at based on lots of factors you might need to play around with your browser window size to see the results

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin laoreet felis, tincidunt ultricies odio laoreet ac. Vestibulum porta euismod sapien, a blandit nisi congue id. Pellentesque feugiat orci nec tellus consequat consequat. Nullam sit amet quam cursus leo vulputate mollis feugiat nec elit. Integer neque eros, sagittis euismod malesuada eu, congue eu sapien. Quisque pharetra pharetra dolor eget tempus. Vivamus fermentum, enim eget lacinia hendrerit, est quam aliquam mi, sit amet convallis metus metus sit amet leo. Curabitur sed metus massa.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin laoreet felis, tincidunt ultricies odio laoreet ac. Vestibulum porta euismod sapien, a blandit nisi congue id. Pellentesque feugiat orci nec tellus consequat consequat. Nullam sit amet quam cursus leo vulputate mollis feugiat nec elit. Integer neque eros, sagittis euismod malesuada eu, congue eu sapien. Quisque pharetra pharetra dolor eget tempus. Vivamus fermentum, enim eget lacinia hendrerit, est quam aliquam mi, sit amet convallis metus metus sit amet leo. Curabitur sed metus massa.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin laoreet felis, tincidunt ultricies odio laoreet ac. Vestibulum porta euismod sapien, a blandit nisi congue id. Pellentesque feugiat orci nec tellus consequat consequat. Nullam sit amet quam cursus leo vulputate mollis feugiat nec elit. Integer neque eros, sagittis euismod malesuada eu, congue eu sapien. Quisque pharetra pharetra dolor eget tempus. Vivamus fermentum, enim eget lacinia hendrerit, est quam aliquam mi, sit amet convallis metus metus sit amet leo. Curabitur sed metus massa.

What is happening inside the CSS;

      div.demo {
        background-color:rgba(197, 31, 199, 0.49);
        height: 170px;
        width: 100%;
        columns: 5;
        widows: 2;
      }
    

If you want to learn more, this demo was created for us in my article about the widow CSS property