JSFiddle - React, Tailwind, and code Playground

HTML

<div class="parent">
  <div class="child">
  </div>
</div>

CSS

.parent {
  border: 1px solid orange;
  padding: 20px;
  width: 400px;
}

.parent .child {
  display: inline-block;
  width: 100px;
  height: 40px;
  background: blue;
  
  transition: width 0.5s ease 600s;
  width: 10px; /* why does this value has to be different ... */
}

.parent .child:hover {
  transition-delay: 0s;
  width: 100px;
}

.parent:not(:hover) .child {
  width: 11px; /* ... from this value? */
  transition: width 0.5s ease 0s;
}