Re:Show HN: Transform a CSV into a JSON and vice versa
by luming on Thursday June 03, 2021 @03:36AM
(#27378231)
You should use outline instead of border in your cell css.
[ Parent
| on HN ]
Re:Show HN: Transform a CSV into a JSON and vice versa
by codetrotter on Thursday June 03, 2021 @03:39AM
(#27378258)
Why?
I read https://css-tricks.com/almanac/properties/o/outline/ and it says
> The outline property in CSS draws a line around the outside of an element. It’s similar to border except that:
> 1. It always goes around all the sides, you can’t specify particular sides
> 2. It’s not a part of the box model, so it won’t affect the position of the element or adjacent elements (nice for debugging!)
> […]
> It is often used for accessibility reasons, to emphasize a link when tabbed to without affecting positioning and in a different way than hover.
I guess this is why you said outline should be used instead in this case.