Home
Home

Add Line After List Items

To add a line after HTML list items, you can use this CSS snippet:

li::after {
    content: "";
    display: block;
    height: 1px;
    width: 50%;
    margin: 10px auto;
    background: #2b4b51;
}

Related Posts

  • Remove All Items from a Wordpress Navigation Menu by Code
  • Setup Xdebug in Laravel Valet with PHP 7.4 and PHPStorm
  • Tutorial: Ubuntu 18.04 LAMP Setup for WordPress
  • Install Umami Analytics with Let's Encrypt HTTPS
  • Manage MySQL Databases and Users from the Command Line
  • Laravel - fix "1071 Specified key was too long; max key length is 1000" error
  • Shortcode for Listing the Recent Posts or CPTs
  • Install Laravel 5.5 at Codeanywhere with PHP 7.1 and MySQL 5.7
2021 by Sebastian Widmann | Privacy Policy | Site Notice