Learn Typography by Building a Nutrition Label - Step 36

How was the -7px determined as the correct shifting value?

and please recommend an offline editor which displays the results as changes are made to HTML and CSS as is done here.

ā€“ Thank you!

You can use VS Code as offline editor. Also install the live server extension in VS Code, it displays the results as changes are made to HTML and CSS.

Thank you! I had tried VS Code before. I was not aware of the extension.

1 Like