How to write the animation without fcc?

How to write the animation without fcc?
0

#1

Hi, I coded it by self But I failed Anyone can tell me How To make animation like this using CSS3, I’m apprentice

cs1


#2

My first guess would be to use ::after with same content as main element but color: orange and max-width: 0 and then do max-width: 100% of ::after on hover with transition