HTML & CSS · Middle · Question 53 of 75

What does inset: 0 mean on an absolutely positioned overlay?

Explanation

inset is the shorthand for the four offsets and follows the same 1–4 value order as margin. Combined with position: absolute and a position: relative parent it creates a full overlay.

Further reading

Problem with a question

HTML & CSS · Middle · question 53

Test yourself

Take the HTML & CSS · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz