Shutt90 Posted February 2, 2022 Share Posted February 2, 2022 I'm bringing in the content from a CMS and want to work with dynamic data so splitting the string and returning it back to work with children (top part). Only issue is for some reason it doesn't seem to be animating with the X: -200 or any X, Y entry call. Wondered if anyone knew the reason for this? See the Pen OJOXPLw by shutt90 (@shutt90) on CodePen Link to comment Share on other sites More sharing options...
Solution OSUblake Posted February 2, 2022 Solution Share Posted February 2, 2022 Hi Shutt, Transforms don't work on inline elements like <span> tags. You would need to change the CSS for your spans to have display: inline-block or just use divs. 1 Link to comment Share on other sites More sharing options...
Shutt90 Posted February 3, 2022 Author Share Posted February 3, 2022 Switched it to divs and works great, thanks again Blake 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now