Omitir al contenido

Switch between list and card view function

Movido Let's Build It
107 4 25.3k 1

Related Topics
  • 5 Votos
    3 Mensajes
    2k Visitas
    Very good like always
  • CSS code customization for the link preview plugin

    Solved Customisation css nodebb
    6
    2
    3 Votos
    6 Mensajes
    2k Visitas
    @kadir-ay-0 marking as resolved based on https://community.nodebb.org/topic/17109/manual-build-a-night-mode-for-harmony/5 Please do not raise requests in two places - here and the NodeBB forums. All this does is create unnecessary load for both parties.
  • Material View Support for Stock NodeBB

    Unsolved Let's Build It material view javascript css
    51
    4
    15 Votos
    51 Mensajes
    12k Visitas
    Oh yes, that’s what’s super cool, I learn something every day. Afterwards I start from so low in JS
  • Widget | CSS customization

    Solved WordPress css
    53
    17 Votos
    53 Mensajes
    9k Visitas
    @Sala the only way you can achieve this is to use a robots.txt file and disallow access to those links.
  • 5 Votos
    2 Mensajes
    1k Visitas
    Nice. Very good tips Mark
  • Create a dynamic category list

    Movido Let's Build It dynamic categories api
    16
    3
    14 Votos
    16 Mensajes
    4k Visitas
    Hmm - seems I never committed this code. I’ll do that now… EDIT - here it is https://github.com/phenomlab/category-list/tree/main
  • hover link effect

    Solved Customisation css link hover
    18
    1
    6 Votos
    18 Mensajes
    3k Visitas
    @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.
  • tag icon in front of tags

    Solved Customisation css
    5
    3 Votos
    5 Mensajes
    1k Visitas
    @phenomlab said in tag icon in front of tags: @crazycells Are you using Font Awesome Free ? If so, try this span.tag:before { content: "\f02b"; font-family: "Font Awesome 5 Free"; margin-right: 5px; margin-left: 5px; font-weight: 900; } yeap, this worked thanks a lot.