Use flex-direction: column-reverse; - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Column

Description

Use flex-direction: column-reverse;

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
ol {<!--from  ww  w.  j a  v  a2  s .  co m-->
   display:flex;
   flex-direction:column-reverse;
}
</style> 
 </head> 
 <body>
   Lorem ipsum dol 
  <ol> 
   <li>Lorem ipsu</li> 
   <li>Lorem ipsum dolor si</li> 
   <li>Lorem ipsum </li> 
   <li>Lorem ipsum </li> 
   <li>Lorem ipsum</li> 
  </ol>  
 </body>
</html>

Related Tutorials