I want to make a menubar that looks like this:
So the words should be cut in the middle and placed under each other like this:
epi-
sodes
ul{
list-style-type: none;
font-size: 20pt;
}
li{
display: inline;
padding: 0px 30px;
word-wrap: break-word;
}
<div id="menu">
<div id="flip">Click to slide the panel down or up</div>
<div id="panel">
<ul>
<li> EPIS- ODER </li>
<li> KARAK- TERER </li>
<li> OM- OSS </li>
<li> PRODU- KSJON </li>
</ul>
</div>
</div>
All help is appreciated!:)
tag? It should work to break any line. – Gabriel Lovetro Mar 15 '17 at 12:39