arlo atomickk's profile picture

Published by

published

Privacy: Link-only
Category: Web, HTML, Tech

Changing the spaces between the links in the navigation bar

<style>

/*SPACES BETWEEN LINKS*/

nav .links li:not(:last-child)::after, footer .links li:not(:last-child)::after{

    content: " ⭒ ";

    color: white}

</style>


Alternatively you can use an image!

<style>

/*SPACES BETWEEN LINKS*/

nav .links li:not(:last-child)::after, footer .links li:not(:last-child)::after{

   content: url(URL);

   padding: 2px;

   color: white}

</style>


I recommend finding an icon you like and using this website to make the image about 10x10 width and height for it to fit right (but it depends on the size of your navigation bar font!!)



Comments

Displaying 0 of 0 comments ( View all | Add Comment )