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

397
Views
CSS transform not working properly in Safari, even with -webkit-prefix

Been working on a project and wholly unsurprisingly Safari is throwing a curveball. It's a personal project so I don't really care for browser compatibility but this just bugs me beyond all else.

The project is heavily dependant on the CSS transform property. Safari says it's an "Unsupported property value". Prepending -webkit- doesn't make a difference.

The live project can be found on https://confetti.semhak.dev and the source code on https://github.com/grabbels/jsconfetti/

If you open the live page in modern browsers the expected behaviour happens, confetti flakes are placed randomly outward from the center. In Safari however, Safari doesn't recognize the inline css transform properties.

Example of the inline css being marked as unsupported by Safari:

transform: translate(-202.29527231536557px, -121.38897026273652px) scale(108.7192227372199%, 35.79831998128447%) rotate(301.3939182144637deg)

Note that prepending -webkit- to the transform handle does not seem to help.

Am I just not seeing a blatant mistake or is Safari really this stubborn/broken?

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Apparently, Safari can't take percentage values in scale, they have to be decimal. So this should work:

scale(1.087192227372199, 0.3579831998128447)

about 4 years ago · Santiago Trujillo 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!