Border border overlap using margin-right:-1px to solve, how in the case of: hover, the rightmost border is displayed?

<!DOCTYPE html>
 <html class="no-js"> 
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="">
        <style>
            *{margin: 0px;padding: 0px;}
            a{text-decoration: none;}
            .wrap{width: 440px;height: 90px;margin: 30px auto;}
            .wrap a{float: left;height: 40px;padding: 0 15px;line-height: 40px;border: 2px solid blue;margin-right:-2px;}
            a:hover{border-color: red;}
        </style>
    </head>
    <body> 
        <div class="wrap">
            <a href="">aaa</a>
            <a href="">bbbbb</a>
            <a href="">ccc</a>
            <a href="">ddddddd</a>
            <a href="">eeeee</a>
            <a href="">ffff</a>
        </div>
    </body>
</html>

the effect is as follows:

:

is there any way to do this? thank you ~

Aug.12,2021

a:hover {
    border-color: red;
    transform: translateX(0);
}

as witty as me?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e8d86f-46f29.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e8d86f-46f29.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?