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

213
Vistas
How to resize content inside div used jQuery

I work with resizable objects, and i have small issues, i want to resize div box, for this i use css:

 resize: both;
overflow: auto;

And this working good for me, but i want when i resize div, i want to resize text and image inside the box, for now i not found solution how to creating this in good direction.

.lpms3-box {
    position: fixed;
    cursor: pointer;
 
}

.box {
    background-color: #ccc;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 10px;
    resize: both;
    overflow: auto;
}

.machine-icon {
    vertical-align: middle;
    float: left;
    width: 40px;
    height: 40px;
    background-color: #808080;
    border-radius: 20px;
    margin: 2px;
    z-index: 1111112;
}

    .machine-icon > img {
        margin-top: 25%;
        width: 20px;
        height: 20px;
    }
<div class="lpms3-box">
  <div class="box" id="box${i}">
    <div class="machine-icon" id="machine${i}">
      <img src="https://cdn-icons-png.flaticon.com/512/1814/1814403.png" onerror="hideEl('machine${i}')" />
    </div>
    <div class="title-box stantion-name">${data.stantionName}</div>
    <div class="desc-box">${data.status}</div>
  </div>
</div>

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