How to change style of only ul li ul li last li Posted on July 1, 2016 by Chandan Sharma in Article, CSS, HTML, PHP<style> .m-demo > ul > li > ul > li { border-bottom: 1px dashed grey !important } </style> <div class="m-demo"> <ul> <li> <ul> <li>only effected li</li> </ul> </li> </ul> </div>Share this:TwitterFacebook Published by Chandan Sharma View all posts by Chandan Sharma