Skip to content

Rotating Star Effect

Solved Let's Build It

Did this solution help you?
Did you find the suggested solution useful? Why not buy me a coffee? It's a nice gesture, and a great way to show your appreciation ๐Ÿ’—

Related Topics
  • Material View Support for Stock NodeBB

    Unsolved Let's Build It
    51
    15 Votes
    51 Posts
    3k Views

    Oh yes, thatโ€™s whatโ€™s super cool, I learn something every day. Afterwards I start from so low in JS

  • 5 Votes
    2 Posts
    425 Views

    Nice. Very good tips Mark ๐Ÿ˜

  • No valid role attribute on elements

    Solved WordPress
    10
    0 Votes
    10 Posts
    563 Views

    I found it here, ins elements can not have aria elements

  • hover link effect

    Solved Customisation
    18
    6 Votes
    18 Posts
    1k Views

    @DownPW Looking at the underlying code, class start is being added on hover by jQuery in this function

    document.querySelectorAll(".button-gradient, .button-transparent").forEach((button) => { const style = getComputedStyle(button); const lines = document.createElement("div"); lines.classList.add("lines"); const groupTop = document.createElement("div"); const groupBottom = document.createElement("div"); const svg = createSVG( button.offsetWidth, button.offsetHeight, parseInt(style.borderRadius, 10) ); groupTop.appendChild(svg); groupTop.appendChild(svg.cloneNode(true)); groupTop.appendChild(svg.cloneNode(true)); groupTop.appendChild(svg.cloneNode(true)); groupBottom.appendChild(svg.cloneNode(true)); groupBottom.appendChild(svg.cloneNode(true)); groupBottom.appendChild(svg.cloneNode(true)); groupBottom.appendChild(svg.cloneNode(true)); lines.appendChild(groupTop); lines.appendChild(groupBottom); button.appendChild(lines); button.addEventListener("pointerenter", () => { button.classList.add("start"); }); svg.addEventListener("animationend", () => { button.classList.remove("start"); }); }); })

    The CSS for start is below

    .button-gradient.start .lines svg, .button-transparent.start .lines svg { animation: stroke 0.3s linear; }

    And this is the corresponding keyframe

    @keyframes stroke { 30%, 55% { opacity: 1; } 100% { stroke-dashoffset: 5; opacity: 0; } }

    Itโ€™s using both CSS and SVG, so might not be a simple affair to replicate without the SVG files.

  • Blinking text Effect

    Customisation
    3
    5 Votes
    3 Posts
    470 Views

    @phenomlab

    I love it too

    @phenomlab said in Blinking text Effect:

    Has that โ€œbroken neon lightโ€ look that you see in films.

    Itโ€™s exactly that, kind of old neon signs of bar or pubs a bit cyberpunk too ๐Ÿ˜‰

  • CSS3: Gradient Generator

    Development
    1
    1 Votes
    1 Posts
    222 Views
    No one has replied
  • [NODEBB] Reply Button/arrow answer

    Solved Customisation
    25
    4 Votes
    25 Posts
    2k Views

    Topic open
    https://sudonix.com/topic/207/nodebb-help-for-my-custom-css

  • [NODEBB] Scroll Button

    Solved Customisation
    7
    0 Votes
    7 Posts
    872 Views

    @downpw ooops. Forgot that. Thanks for adding.