Is there a way to implement a dynamic border-width value which changes based off the element\'s width with pure CSS? Using a percentage value doesn\'t work since percentage bord