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

178
Views
How can I get this rating component automatically centered for both mobile and desktop version?

How can I get this rating component automatically centered for both mobile and desktop version? See link to inspect code

https://oshanedesign.github.io/interactive-rating-component/

enter image description here

about 4 years ago · Santiago Trujillo
2 answers
Answer question

0

.rating-content {
    padding-left: 20px;
    padding-right: 20px;
    background-color: #212832;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}
about 4 years ago · Santiago Trujillo Report

0

add these additional styling to .rating-content class.

.rating-content{
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
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!