222alon
KPCKevin Powell - Community
•Created by 222alon on 6/17/2023 in #front-end
How to get all values lines up on a list of key: value
Hello! I want to display a list of values and their keys sort of like so:
A: 1
B: 2
The problem is once the lengths of the keys are different, the values don't line up exactly
A: 1
BB: 2
I want to use pure html and css to get this effect
A: 1
BB: 2
With all values lines up
So far all the solutions I've thought of were pretty complicated, and I've been wondering if there's any clean solution? Thank for the help!
6 replies