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

170
Views
Quiero hacer que mi caja se desplace, intenté poner la propiedad pero no pasa nada. Yo uso Tailwind & React

este es el código que uso en mi CallToAction.js, pongo -top-28:

 <div className="border text-white h-[226px] w-auto mb-[389px] bg-brand-quaternary border-brand-primary rounded-lg place-items-center grid grid-cols-4 -top-28">

quiero hacerlo así: !pic 1 ] 1

pero me sale esto: foto 2

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

0

Intente agregar mt-[-50%] en lugar de -top-28 . Trabajo Top con propiedad de posición como relative y absolute . También puede usar -top-28 pero debe agregar una clase relative o absolute .

about 4 years ago · Juan Pablo Isaza Report

0

¿Estás seguro de que necesitas -top-28 ? Pruébalo sin el tablero top-28

 <div className="border text-white h-[226px] w-auto mb-[389px] bg-brand-quaternary border-brand-primary rounded-lg place-items-center grid grid-cols-4 top-28">

Lo tomé de aquí: https://tailwindcss.com/docs/top-right-bottom-left#basic-usage

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!