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

190
Views
Convert pixels to bootstrap col-x

I'm using html, javascript but with aurelia framework...

I'm using a library called interact.js justo to resize elements using mouse drag and drop...

When an element is resized, this library can manage resizing adding an style attirbute to the element and putting there width and height ...but in pixels.

Now my applicacion is using width as bootstrap cols: col-3, col-6, col-9, col-12...

  • How can i convert width of an element in pixels to bootstrap col-x
    ??? wihtout adding my own code ? i mean...is there a library (yarn or npm) to do this ??? or any kind of javascript code ?
about 4 years ago · Juan Pablo Isaza
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!