Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

60
Views
Establecer plantilla en el cuadro de entrada

Quiero crear una plantilla dentro del cuadro de entrada: cuando hago clic en la entrada, se seleccionará automáticamente la palabra "suNombre" y (tal vez) al presionar la pestaña cambiará a la palabra "suCorreo Electrónico". Básicamente quiero que el usuario pueda modificar SÓLO "tuNombre" y "tuEmail", el resto debe quedar así, ¿cómo hago?

 input { width: 200px; height: 20px; }
 <input type="text" value="<yourName>(yourEmail)">

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Puede usar dos entradas y falsificar el borde como se muestra a continuación. El aspecto no es realmente agradable, pero puedes aplicarle tus propios estilos.

 div { border: 1px solid grey; border-radius: 2px; width: max-content; } div:hover { border-color: dimgrey; } div input { display: inline; min-width: 7rem; width: max-content; /* you could add the following line, if you want no outlining on focus */ /* outline: none;*/ border: none; }
 <div> <span>&lt;</span> <input type="text" placeholder="yourname"> <span>&gt;</span> <span>(</span> <input type="email" placeholder="yourEmail"> <span>)</span> </div>

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!