Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

131
Visualizações
Linear progressive blur on an image

I am trying to linearly and progressively blur out an image. I have not found any resources on this online at all, or perhaps I just have no idea what to search for. Could someone provide me with a similar resource or search term so that I can find the tutorials or templates for this if it exists?

Picture for illustration:

enter image description here

Any help would be appreciated, thank you!

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

Try this:

figure {
      position: relative;
    }
    figure::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
    }
<figure>
    <img width="50%" src="https://placekitten.com/640/360" alt="">
  </figure>

And you can change the alpha channel in the white color as you need.

about 4 years ago · Juan Pablo Isaza Relatório

0

You could use a gradient that goes from transparent to white like this:

    #fade {
      transform: translate(0, -100px);
      position: absolute;
      width: 100%;
      height: 100px;
      background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%);
    }
    <body>
    
      <h1>Headline</h1>
      <div id="text">
        <p>text</p>
        <p>text</p>
        <p>text</p>
        <p>text</p>
        <p>text</p>
        <p>text</p>
        <div id="fade"></div>
        <h1>Next things</h1>
      </div>
    </body>

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda