I\'ve defined widths of the containers in percentage. I\'d like to add a border (3px on right side of a width), since container width is in % while the border width is in px
Just change px to vw like
px
vw
border-width: 10px;
to
border-width: 10vw;
Its do whats percentage do....