Wrap ordered list items with square bracket using CSS September 11, 2024 We can wrap ordered list items with square bracket using the code given below. ol > li::marker { content:"[" counter(list-item) "]. "; } Sometimes you may require it if you show a list of publications. We can replace [] with anything if we want. Posted in Programming and tagged CSS