0

I want to make a menubar that looks like this: enter image description here

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!:)

priya_singh
  • 2,478
  • 1
  • 14
  • 32
In6ify
  • 147
  • 2
  • 9

0 Answers0