As we work on developing our tool according to the provided design, we are facing a challenge in drawing a line within a table row using box-shadow. The requirement is to have the line cover only 30% of the row width, rather than spanning across the entire row.
We attempted to use the "width" property but faced difficulties in achieving the desired outcome.
For reference, here is the jsfiddle link showcasing our current implementation: https://jsfiddle.net/7va8t56z/4/
Below is the snippet of how we are applying the shadow to draw the line:
tbody tr {
box-shadow: inset 1px 2px 1px 0px rgb(82, 243, 109);
}
Is it possible to adjust the width of the green line without altering the overall length of the table or row? We aim to modify only the box-shadow width.
Here is a visual representation of the desired outcome: https://i.stack.imgur.com/sjMGJ.png
Thank you for your assistance.