Position two span elements in opposite direction inside li - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Position two span elements in opposite direction inside li

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width"> 
 </head> <!--  w w  w  . ja  v  a 2  s  . c o  m-->
 <body> 
  <ul> 
   <li class="subtitle"> <span class="left">Lor</span>Lor<span class="right">Lo</span> </li> 
   <li class="subtitle"> <span class="left">Lor</span>Lor<span class="right">Lo</span> </li> 
  </ul>  
 </body>
</html>

Related Tutorials