I've been working on SVG animations with CSS, and I've encountered an issue where my line drawing animations are causing the top-left corner of any SVG rect (#clipboard-border and #clipboard-clip-border) stroke to be cut off, resulting in an incomplete rectangle.
I've tried adjusting the stroke-dasharray and stroke-dashoffset measurements in the CSS, as well as tweaking sizes and pixel coordinates within the SVG code, but so far, none of these fixes seem to solve the problem. Can anyone offer assistance?
html,
body {
width: 100%;
height: 100%;
background-color: #CECECE;
}
/* CSS styles omitted for brevity */
For more details, please view the animation here on Codepen.