JSPM

  • Created
  • Published
  • Downloads 82
  • Score
    100M100P100Q73250F
  • License ISC

2023.03.13/transparent-gradient/mr.chu

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (transparent-gradient) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    transparent-gradient

    📚 Transparent gradient

    ssss

    Hello, families of developers~ This is a real transparent gradient, not a fake transparent one. I hope it will be helpful for your front desk development.

    npm i transparent-gradient
    tGradient(target, direction)

    First, you have to be the target for the gradient. The second is the direction.('right', 'bottom', 'top', 'left')

    This is an example of use.

    const content = document.querySelector('.number2')
    tGradient(content)

    2023.03.13/transparent-gradient/mr.chu