User Tools

Site Tools


css:menu:simple_menu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

css:menu:simple_menu [2021/08/08 12:46] – created petercss:menu:simple_menu [2021/08/08 12:46] (current) peter
Line 1: Line 1:
 ====== CSS - Menu - Simple Menu ====== ====== CSS - Menu - Simple Menu ======
 +
 +<code css>
 +#menu {
 +  text-align: justify;
 +}
 +#menu:after {
 +  content: " ";
 +  font-size: 0;
 +  display: inline-block;
 +  width: 100%;
 +}
 +#menu > div {
 +  display: inline-block;
 +}
 +</code>
 +
 +<code html>
 +<div id="menu">
 +  <div>MENU ITEM</div>
 +  <div>LINK</div>
 +  <div>TWO WORDS</div>
 +  <div>ANOTHER</div>
 +</div>
 +</code>
  
css/menu/simple_menu.1628426791.txt.gz · Last modified: 2021/08/08 12:46 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki