Hi guys ?
I tried to animate the ':: before' pseudo-element of a button in a React application with Styled-Components ... I know, it's a bit crazy ?
But, unfortunately, I did not have much success, here is my code ....
import React, { Component } from 'react';
import styled from 'styled-components';
import { TweenLite, CSSPlugin, CSSRulePlugin } from 'gsap/all';
const ButtonElement = styled.button`
width: 200px;
height: 60px;
border-radius: 30px;
line-height: