Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

214
Vistas
Get image coordinates in html and save the new appearance

I created a structure consisting of 2 png photos. one of them random lines and its z-index is 6 and the other is a bear photo and z-index is 5

<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <link rel="stylesheet" href="test.css">
        <title>Page Redirection</title>
    </head>
    <body>
      <div class="kutu">
        <div class="cizgi">
          
        </div>
        <div class="resim1">

        </div>
      </div>        
    </body>
</html>
.kutu {
  position: relative;
  width: 500px;
  height: 500px;
  background-color: aqua;
  display: block;
  margin: auto;
  background-image: url(background.jpg);

}

.resim1  {
  position: absolute;
  height: 100%;
  width: 200px;
  max-width: 100%;
  background-image: url(bear.png);
  background-repeat: no-repeat;
  background-size: 200px 200px;
  z-index: 5;
  left: 60%;
  top: 50%;
  filter: brightness(0) invert(1);
  
}

.cizgi {
  position: absolute;
  height: 100%;
  max-width: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-image: url(fe45bef1-0c56-46ea-a58e-998a46454321.png);
  background-size: 500px 500px;
  z-index: 6;
}


.The bear photo will always randomly occur anywhere in the box.The bear photo normally looks like this, but when the lines are on it, it's looks like this.What I want is to create another div below and somehow reflect the new version of the bear photo i.e. the striped version. If this is exactly what I want, this is it.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda