footer{ ul{ display: inline-flex; justify-content: flex-end; width: 100%; li{ margin-left: 20px; } } section{ width: 50%; margin:auto; } }