Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEngine Digital
7,925 PointsTried this method for some icons, but there's always a 1px gap between each stroke... Does anyone know why this would be
Here's a screenshot of the final look of one of the icons: https://drive.google.com/file/d/0B9OEFDhhZG2lamZENkY4dTFPZnc/view?usp=sharing
If you look closely at the top left corners of the clipboard and the eraser bit of the mechanical pencil there's a lack of pixel which doesn't fully complete the entire stroke...
1 Answer
Belve Marks
7,332 PointsWhat is the stroke-linecap? If the spaces are occurring at the ends of the stroke, it is probably that the linecap value is "butt" (which will leave a gap) instead of "round" or "square".
Engine Digital
7,925 PointsEngine Digital
7,925 PointsSorry forgot to clarify that I've been using stroke-dasharray and stroke-dashoffset