unordered list html make items center code example Example: center ul dropdwon-menu { left: 50%; transform: translateX(-50%); }