Ellipsis 1行/2行省略



<html>
<head>
    <style type="text/css">
        /*    */
        .test {
            text-overflow:ellipsis;
            overflow:hidden;
            white-space:nowrap;
            width:150px;
        }
        /*    */
        .test {
            display: -webkit-box;
            overflow: hidden;
            /*text-overflow: ellipsis;*/
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }
    style>
head>
<body>
    <div class="test">  **       **       **     div>
body>
html>