Tag:css notes

  • CSS how to achieve gradient background

    Time:2024-5-30

    catalogs CSS defines two types of gradients: Format: How to use: Edit to use transparency: CSS defines two types of gradients: Linear gradient (down/up/left/right/diagonal);Radial gradient (with center spreading out to the surroundings); Format: background-image: linear-gradient( direction/angle , color1, color2, color3 ….) ; How to use: A linear gradient is defined this way by the attribute […]