I'm attempting to incorporate a transition delay into my flexbox on hover. However, it seems like there might be an issue in my code.
.flex-fill {
transition-delay: 250ms !important;
transition:flex 0.5s ease-out !important;
}
.flex-fill:hover {width:60% !important;}
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet"/>
<div class="d-flex">
<div class="p-2 flex-fill bg-light">Flex item</div>
<div class="p-2 flex-fill bg-success text-white">Flex item with a lot of content</div>
<div class="p-2 flex-fill bg-dark text-white">Flex item</div>
<div class="p-2 flex-fill bg-info text-white">Flex item</div>
</div>