Inset 0
May 19, 2020 • 1 min • TIL #9
The "inset" logical property gem is shorthand for all the sides of your box.
This sets all sides to 0, snapping each corner to the corner of it's parent.
.full {
position: absolute;
inset: 0;
}
May 19, 2020 • 1 min • TIL #9
The "inset" logical property gem is shorthand for all the sides of your box.
This sets all sides to 0, snapping each corner to the corner of it's parent.
.full {
position: absolute;
inset: 0;
}