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

184
Views
Chrome developer tool CSS position negative value

I am learning CSS and using Chrome dev tool to check the size and position of a div element.

But the value on the right side of the "position box" for the div is negative. I don't know where it comes from.

What does this value mean? How can I find out what is causing this negative value?

The -0.8 in the picture is the value I am asking for.

enter image description here

This div has some children, and partial style for the div is like this:

 position: fixed;
 top: 0;
 left: 0;

 width: 100%;
 height: 67.2px;

 padding-left: 2em;
 padding-right: 2em;

In the console, with the div selected, if I do

$0.getBoundingClientRect()

it will give following details:

DOMRect {x: 0, y: 0, width: 376, height: 67.20000457763672, top: 0, …}
bottom: 67.20000457763672
height: 67.20000457763672
left: 0
right: 376
top: 0
width: 376
x: 0
y: 0
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!