God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
Show HN: Pure CSS silky Border line animation(open-source code) https://ift.tt/tnivSf6
Show HN: Pure CSS silky Border line animation(open-source code) Use only CSS to achieve a silky border line animation effect. Key implementation ideas include: 1. Perspective effect: Create a border effect by setting up two nested elements with the parent element having 1 pixel padding. 2. animation: Create an absolutely positioned child element and use the animation property to move it uniformly along the border of the parent element. 3. Uniform animation: By calculating the path and distance of the element movement, adjust the percentage of key frames to ensure uniform animation. 4. Rounded corners: Add rounded corners to the parent and child elements, and adjust the position of the animation elements to fit the rounded corners. 5. Animation optimization: Adjust the animation trajectory at the rounded corners to ensure a natural and smooth transition. 6. Blur shadow: Achieve the shadow effect by setting the background radial gradient of the child element and using the backdrop-filter attribute to add a blur effect. https://ift.tt/wW9XEYS https://ift.tt/wW9XEYS September 29, 2024 at 04:29PM
Subscribe to:
Post Comments (Atom)
Show HN: Silent dictation for Claude Code via on-device lip reading https://ift.tt/UQFCSix
Show HN: Silent dictation for Claude Code via on-device lip reading https://ift.tt/SjUKC4z November 26, 2026 at 04:25AM
-
submitted by /u/Dull_Tonight [link] [comments] source https://www.reddit.com/r/worldnews/comments/pehy48/housing_secretary_robert_je...
-
Show HN: Sprite Garden - HTML Canvas 2D sandbox and farming Sprite Garden: https://kherrick.github.io/sprite-garden/ A 2D sandbox exploratio...
-
Show HN: Lindra – generate browser agents to automate any website Hi HN, We’re one month into building Lindra, a platform that turns any web...
No comments:
Post a Comment