<div class="wrapper">
  <ul>
    <li>hello,are we meeting today?</li>
    <li>yes,what time suits you?</li>
    <li>i was thinking after lunch,i have a meeting in the morning</li>
    <li>maybe another day?</li>
    <li>that's all right,what's about you? what are you going to do?</li>
    <li>i have no idea,go out for a walk or watching tv in home</li>
    <li>hello,are we meeting today?</li>
    <li>yes,what time suits you?</li>
    <li>i was thinking after lunch,i have a meeting in the morning</li>
    <li>maybe another day?</li>
    <li>that's all right,what's about you? what are you going to do?</li>
    <li>i have no idea,go out for a walk or watching tv in home</li>
  </ul>
</div>
@import "compass/css3";

$scroll:10px;
::-webkit-scrollbar{width:$scroll;}
::-webkit-scrollbar-thumb{border-radius:$scroll;background-color:rgba(255,255,255,0.2);}
::-webkit-scrollbar-track{border-radius:$scroll;background-color:rgba(255,255,255,0.1);}



body{font-size:100%;background-image:linear-gradient(top left,#333,black);background-attachment:fixed;}
*,*:before,*:after{box-sizing:border-box;}
ul,li{list-style-type:none;}
.wrapper{margin-top:100px;}
.wrapper ul{width:50%;margin:0 auto;height:300px;overflow-x:hidden;overflow-y:scroll;padding-right:30px;}
.wrapper ul li{margin-bottom:20px;padding:10px 20px;background-color:rgba(255,255,255,0.65);position:relative;border-radius:10px;font:1em/1.6 "arial";clear:both;text-shadow:1px 1px 0 rgba(255,255,255,0.35);}
.wrapper ul li:nth-child(odd){float:left;margin-left:80px;}
.wrapper ul li:nth-child(even){float:right;margin-right:80px;color:rgba(255,255,255,0.9);text-shadow:1px 1px 0 rgba(0,0,0,0.75);background-color:rgba(255,255,255,0.3);}
.wrapper ul li:before,.wrapper ul li:after{position:absolute;content:"";}
.wrapper ul li:before{width:45px;height:45px;top:0;border-radius:50%;background-position:50% 50%;background-repeat:no-repeat;}
.wrapper ul li:nth-child(odd):before{left:-80px;background-image:url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QBoRXhpZgAATU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAABAAIAAAExAA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cJIuePXH+FY1dR8O9SeYXGjzElYlMsIbqnOGX6c5/On+K9BWDN9artGf3qAf+PVKk1LlkZyp6XRymKKWitDG56h8N9OWPRJLsj57iU8/7K8D9c1lfE/TpZ/E3h9iC8EiumzHG4HP65FdL8PJFk8J2yr1jd1b67if61q+K9NS5023vjw+mzfaF4zkY2kfrn8K52/ebOyCXKjltJ1i5tpEimsY1ULuc7zlRnHpj8Kt6/qTzKI7aTyo9wV5VTecnpgH+dSXM0baJNcSFVC8t71HpNzaT31+IH8xAiNg467emPy5rDQ7LHHaNZ3Ft8ULPLfNPFI0jKu3zF2nkjtniu21W3WS3kjkGVZSpHtWZ4atP7Q8aahqshwLOEQRrju/P8h+ta+rSAKRWjd0jnkrNnkcsZimeNuqMVP4UVJesJL+4dejSsR+dFdi2PPe52Xw31xLO8m025cIk58yIscAMByPxAH5V1mufEDQLC1ltS51GWRChht+Rzxgt0H6144RVK5gmGWhOR6DqKjkTdzSnUsrHTm6c6kNP1jzMQgmNScoT159eOKLzVbG2xf27NBdoyqqR4G72OBg8U2yuLfxLbJFcOI79F2up4Lf7Qpt5olposf2q9n+XPyqzZYn2FYW1sdyloWvDfxAh0AXFrqljJ/pMnnNcxnLc8AFT2GO1aureKbG70559PuVlLfKoHBBPqOorze48/VbxpymxTgD0VR0FXbe3S3j2p1PU+tbezW5yzqW0RJRS0VocwtFFFMkQqpIJUEjpkUFFZtzKC3qRzRRS6mq+EWkNFFBmLRRRQB//9k=");}
.wrapper ul li:nth-child(even):before{right:-80px;background-image:url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QBoRXhpZgAATU0AKgAAAAgABAEaAAUAAAABAAAAPgEbAAUAAAABAAAARgEoAAMAAAABAAIAAAExAAIAAAASAAAATgAAAAAAAABgAAAAAQAAAGAAAAABUGFpbnQuTkVUIHYzLjUuMTAA/9sAQwAHBQUGBQQHBgUGCAcHCAoRCwoJCQoVDxAMERgVGhkYFRgXGx4nIRsdJR0XGCIuIiUo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iwSZ3vLJU+WyaVUCsDncMjJI64H41riYRVHmS7E4KbliOWT7nPePtPvbm8j1trWSyF3GpkgkYEbl4BBHTjHBrn49GkfRLnUpn2tBgtFj76k4GD/e749K63xb4gtdTtp4LeRismGVyOmDnpWBq2pXd74ZsdPjG2GCTdHDEnzSN/ebHLH+VeXBuyR7E4wu35EXhKKObVCRnMKMwY+hwAPz5rrJ7bzYXTfu3Ag5yKwfC+nNZvcPPJHvdQDGnJjOehPTPsOlb0zLFA8m/hVJ/SvXo0oundnhV6slU5UcjRRRXPY3Luk3giYwSHCscqfetfULXOlR3TXIhZ2ZYfLILHHDkjsO3PJPSuXqeC5aPzd5ZjIQdxOcEDFa+0fJyEKmvac5myyQWJlRZnkkTHytjoeuPepLaa9vi4ib7LbOMyFG5KjtnrVMabPd30gcrCjMSZGPQf1NbF0i29pHBAUlbABVT8pPqSOwrljDW53c+lrl/RWxvymyDAWPjsPSpdVnVF8iNsk8tz0HpVFLloowEYvJjBkIwB7AdhUGSxJJyT1JrpU2o8py1IwlJS6hRS0VAiKiiikUKKUUUUxC0ooooAKKKKQH/2Q==");}

.wrapper ul li:after{width:0;height:0;top:15px;border-top:15px solid rgba(255,255,255,0.65);}
.wrapper ul li:nth-child(odd):after{left:-15px;border-left:15px solid transparent;}
.wrapper ul li:nth-child(even):after{right:-15px;border-top-color:rgba(255,255,255,0.3);border-right:15px solid transparent;}




@media only screen and (min-width:768px){
  .wrapper ul{width:50%;height:300px;}
}
@media only screen and (max-width:767px){
  .wrapper ul{width:90%;height:260px;}
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.