div { &.drawing { position: relative; width: 3rem; height: 3rem; } } img { &.avatar { position: absolute; width: 3rem; height: 3rem; } &.edge { position: absolute; border: none; left: -0.375rem; top: -0.375rem; width: 3.75rem; height: 3.75rem; } }