O'Reilly logo

Cross-platform Desktop Application Development: Electron, Node, NW.js, and React by Dmitry Sheiko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Styling a file list

The file list will be represented as a table, but we will build it out of an unordered list. The./index.html file contains the following code:

<main class="l-main__file-list file-list">   <nav>     <ul>       <li class="file-list__li file-list__head">       <span class="file-list__li__name">Name</span>       <span class="file-list__li__size">Size</span>       <span class="file-list__li__time">Modified</span>       </li>       <li class="file-list__li">         <span class="file-list__li__name">index.html</span>         <span class="file-list__li__size">1.71 KB</span>         <span class="file-list__li__time">3/3/2017, 15:44:19</span>       </li>       <li class="file-list__li">         <span class="file-list__li__name">package.json</span>         <span class="file-list__li__size">539 B</span> 

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required