Hey David below is the link of someone’s website and I want exactly the same transition to read more button.
Here is the link :Website link
And I got this code from browser inspection tool :the transition effect is not working on my website
My website Link
a.read-more.button {
font-size: 18px;
background-color: rgba(255,255,255,0);
color: #115cfa;
text-decoration: none;
background-image: linear-gradient(transparent 2px,#2ed392 2px,#2ed392 4px,transparent 4px),linear-gradient(transparent 2px,#d8dce9 2px,#d8dce9 4px,transparent 4px);
background-size: 0% 6px,100% 6px;
background-position: 0 bottom,0 bottom;
transition: background-size 0.3s ease-in-out;
background-repeat: no-repeat;
padding: 10px;
font-weight: bolder;
}