Animated Circle and positioning on Website
-
Hey Friends,
I want to implement the same "Scroll Down" Circle like on this site: "https://dddhotel.jp/en/"
So by mouseover the circle gets bigger and by clicking on it its Srolls to an anchor. Shouldn't be that complicated, right?
How can I realize it and how do I define the position of the circle?
Thanks for your help!
Best,
Dennis -
Dear Dennis @weodeo
Its a nice website :)
The Scroll button itself is not a problem it can be an anchor link:https://www.rapidtables.com/web/html/link/html-anchor-link.html
https://stackoverflow.com/questions/44070311/jquery-scroll-to-anchor-on-button-click
Some Custom Javascript can be added to make it nicer if desired.The Circle expanding is done through CSS & 'hover':
https://www.w3schools.com/cssref/sel_hover.aspWhen you hover over the Circle the CSS changes from:
- transform: scale(1);
to -
- transform: scale(4);
https://css-tricks.com/snippets/css/scale-on-hover-with-webkit-transition/
https://www.w3schools.com/cssref/css3_pr_transform.aspThats the basic setup i believe (apologies if im wrong)
The finer details will be the tricky partGood Luck, i hope i have been of help and sorry that i cant go into a deeper tutorial! :)
Sincerely
Richard
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it