JasonD Posted February 11, 2020 Share Posted February 11, 2020 I don't have a codepen url but if you hit my netlify link you can see this in action. https://affectionate-yalow-6ca8ab.netlify.com/ When you try and hit the close button, the X part actually doesn't work. you have to click on the grey parts. What's the move? **Click on a region and the button shows up under the roof. Link to comment Share on other sites More sharing options...
mikel Posted February 11, 2020 Share Posted February 11, 2020 Hey @BrownsFanForLife, The path is exclusive of the X. Therefore, the trigger area is also limited to the gray area. Here is a 'slightly larger' example: See the Pen gOppZYP by mikeK (@mikeK) on CodePen Simply place a larger circle over it as a trigger object. For the above case test <rect id="button" width="300" height="120" style="fill:transparent" /> Happy tweening ... Mikel 4 Link to comment Share on other sites More sharing options...
JasonD Posted February 13, 2020 Author Share Posted February 13, 2020 I just . wanted to say thank you. I like how you also made me code my solution instead of 'just telling me' what to do. 3 Link to comment Share on other sites More sharing options...
mikel Posted February 13, 2020 Share Posted February 13, 2020 I prefer to see and test the result of a code. Then I can be sure to achieve what I wanted. Happy tweening ... Mikel 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