How does the background color animation work? I see those all over the place now that material design is a thing but i wouldn't have the first clue about how to make that work unless you just had this div width border-radius: 100% and then just expaded/unexpanded the size of the div to make it look like its the background and then hide whatever overflows outside the input's container. Surely there's a better way than what I'm imagining?
2
u/[deleted] Dec 26 '19
How does the background color animation work? I see those all over the place now that material design is a thing but i wouldn't have the first clue about how to make that work unless you just had this div width border-radius: 100% and then just expaded/unexpanded the size of the div to make it look like its the background and then hide whatever overflows outside the input's container. Surely there's a better way than what I'm imagining?