Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the purpose of this purple dashed line area?

enter image description here

Does anyone know what this purple area represent?

like image 387
DonKim Avatar asked Apr 25 '21 10:04

DonKim


Video Answer


2 Answers

It shows the available space where text can be expanded.

You can see this dashed area after text which means it is area where text can be expanded.

Let me show an example with just one character:

enter image description here

And an example with more characters looks like this. It can be seen that length of purple dashed line area is decreased:

enter image description here

It is possible to run the following code snippent and open dev tools to see this purple dashed area:

*, html, body {
    box-sizing: border-box;
    margin: 0;
}

div {
    position: relative;
    background-color: lightgreen;
}

button {
  display: flex;
  width: 100px;
}
<div>
    <button>1</button>
</div>
like image 110
StepUp Avatar answered Oct 18 '22 19:10

StepUp


It is white space. For example you have a container with 100% of width and two divs inside, one of those with 50% and another width 40% of width, it means that there is 10% of space empty... this 10% would be shown in this purple dashed line area by the Google inspector.

like image 20
Hugo Acosta Avatar answered Oct 18 '22 18:10

Hugo Acosta