I am working on my portfolio page and I have some troubles with borders.
Please see my codepen: https://codepen.io/bartosz-spychaa/pen/gOXgyjx
As you can see I want to wrap yellow border around img element which is a link to codepen project. I padded it 200px from the left. But then the border expands twice the width of img element outside of it. How to solve this?
I admit I’m not sure whether using “padding” was good choice for moving img element to the right.