ine { position: absolute; top: 0; bottom: 0; left: 0; right: 0; outline: 4000px solid rgba(0, 0, 0, .3); } .handle { position: absolute; } :host([rounded]) .handle::before { border-radius: 50%; } .handle:before { position: absolute; display: block; padding: 4px; transform: translate(-50%, -50%); content: ' '; background: #fff; border: 1px solid #767676; } .ne { top: 0; right: 0; cursor: nesw-resize; } .nw { top: 0; left: 0; cursor: nwse-resize; } .se { bottom: 0; right: 0; cursor: nwse-resize; } .sw { bottom: 0; left: 0; cursor: nesw-resize; }
y