Make Nav Links From An Unordered List With Separators in CSS
Given this HTML
alfa
bravo
charlie
You can use this CSS to create nav links
that are all on one line with a |
separator
between them
}
}
}
I like this approach because the [TODO: Code shorthand span ] puts the separator between the links without having to do anything in the HTML. And, it does so without adding one after the last link.
~ fin ~